Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wp-content-framework/fixtures
https://github.com/wp-content-framework/fixtures
Last synced: about 8 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/wp-content-framework/fixtures
- Owner: wp-content-framework
- License: mit
- Created: 2019-12-29T14:45:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-08T04:34:52.000Z (over 3 years ago)
- Last Synced: 2023-03-02T13:21:06.269Z (over 1 year ago)
- Language: Shell
- Size: 88.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Fixtures
[![CodeFactor](https://www.codefactor.io/repository/github/wp-content-framework/fixtures/badge)](https://www.codefactor.io/repository/github/wp-content-framework/fixtures)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/technote-space/jquery.marker-animation/blob/master/LICENSE)## Table of Contents
Details
- [Example](#example)
- [`composer.json`](#composerjson)
- [`.gitignore`](#gitignore)
- [Author](#author)## Example
### `composer.json````
"scripts": {
"prepare": [
"mkdir -p ./fixtures/.git",
"chmod -R +w ./fixtures/.git && rm -rdf ./fixtures",
"rm -f ./phpcs.xml ./phpmd.xml ./phpunit.xml",
"git clone --depth=1 https://github.com/wp-content-framework/fixtures.git fixtures",
"WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/prepare.sh"
],
"test": "WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/test.sh",
"phpcs": "WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/php/phpcs.sh",
"phpmd": "WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/php/phpmd.sh",
"phpcbf": "WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/php/phpcbf.sh",
"phpunit": "WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/php/phpunit.sh",
"packages": "WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/packages.sh"
}
``````
"scripts": {
"setup": [
"@prepare"
],
"prepare": [
"mkdir -p ./fixtures/.git",
"chmod -R +w ./fixtures/.git && rm -rdf ./fixtures",
"git clone --depth=1 https://github.com/wp-content-framework/fixtures.git fixtures",
"composer install"
],
"test": "WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/test.sh",
"phpcs": "WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/php/phpcs.sh",
"phpmd": "WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/php/phpmd.sh",
"phpcbf": "WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/php/phpcbf.sh",
"phpunit": "WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} COVERAGE=1 bash ./fixtures/bin/php/phpunit.sh",
"phpunit:no": "WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/php/phpunit.sh",
"packages": "WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/packages.sh"
```### `.gitignore`
```
/fixtures
```## Author
[GitHub (Technote)](https://github.com/technote-space)
[Blog](https://technote.space)