Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wp-content-framework/fixtures


https://github.com/wp-content-framework/fixtures

Last synced: about 8 hours ago
JSON representation

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)