Skip to content

Commit

Permalink
Merge pull request #51 from mpscholten/composer-scripts
Browse files Browse the repository at this point in the history
Composer scripts instead of direct access to vendor
  • Loading branch information
mpscholten committed Oct 17, 2017
2 parents c8df364 + 01090a2 commit 5458e9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -395,7 +395,8 @@ Absolutely. This library was initially developed at [quintly](https://www.quintl
### Tests

```
vendor/bin/phpunit
composer tests
composer tests-coverage
```

### Contributing
Expand Down
4 changes: 4 additions & 0 deletions composer.json
Expand Up @@ -16,5 +16,9 @@
},
"autoload": {
"psr-4": {"MPScholten\\RequestParser\\": "src/"}
},
"scripts": {
"tests" : "vendor/bin/phpunit",
"tests-coverage" : "vendor/bin/phpunit --coverage-text"
}
}

0 comments on commit 5458e9b

Please sign in to comment.