Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/grasmash/artifice


https://github.com/grasmash/artifice

Last synced: 18 days ago
JSON representation

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/grasmash/artifice.svg?branch=master)](https://travis-ci.org/grasmash/artifice) [![Coverage Status](https://coveralls.io/repos/github/grasmash/artifice/badge.svg?branch=master)](https://coveralls.io/github/grasmash/artifice?branch=master)

## Install

`$ composer require grasmash/artifice`

## Contributing

Clone repo:
```
$ git clone [email protected]:grasmash/artifice.git /path/to/artifice
```

Edit `~/.composer/composer.json`:
```
{
"repositories": {
"artifice": {
"type": "path",
"url": "/path/to/artifice",
"options": {
"symlink": true
}
}
},
"require": {
"grasmash/artifice": "*@dev"
}
}
```
Execute:
```
$ composer global update
$ composer list
```

You should now see `generate-artifact` as an available command.

### Testing

```
$ cd /path/to/artifice
$ composer test
```

### Auto-fix code style

```
$ cd /path/to/artifice
$ composer cbf
```

### Debugging

Composer disables xDebug by default. To force xDebug usage when debugging the `generate-arifact` command, run:

```
$ COMPOSER_ALLOW_XDEBUG=1 composer generate-artifact
```