mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Add composer commands for generating coverage reports via Herd
This commit is contained in:
parent
e1fcfc8dc1
commit
0e9f7153c0
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -47,6 +47,7 @@ storage/private_uploads/users/*
|
||||||
tests/_data/scenarios
|
tests/_data/scenarios
|
||||||
tests/_output/*
|
tests/_output/*
|
||||||
tests/_support/_generated/*
|
tests/_support/_generated/*
|
||||||
|
tests/coverage/*
|
||||||
/npm-debug.log
|
/npm-debug.log
|
||||||
/storage/oauth-private.key
|
/storage/oauth-private.key
|
||||||
/storage/oauth-public.key
|
/storage/oauth-public.key
|
||||||
|
|
|
@ -120,7 +120,9 @@
|
||||||
],
|
],
|
||||||
"post-create-project-cmd": [
|
"post-create-project-cmd": [
|
||||||
"php artisan key:generate"
|
"php artisan key:generate"
|
||||||
]
|
],
|
||||||
|
"coverage:herd:clover": "herd coverage vendor/bin/phpunit --coverage-clover tests/coverage/clover.xml",
|
||||||
|
"coverage:herd:html": "herd coverage vendor/bin/phpunit --coverage-html tests/coverage/html"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"preferred-install": "dist",
|
"preferred-install": "dist",
|
||||||
|
|
Loading…
Reference in a new issue