Skip to content

Commit 607806a

Browse files
committed
updated scripts to make template and updated example files to read new config file
1 parent 20b7f92 commit 607806a

File tree

10 files changed

+234
-154
lines changed

10 files changed

+234
-154
lines changed

composer.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@
99
],
1010
"minimum-stability": "stable",
1111
"scripts": {
12-
"post-package-install": "
13-
echo '{\n\t\"api-key\":\"Your API Key\"\n}' >> examples/example-config.json"
14-
"post-package-update": "
15-
if [ ! -f examples/example-config.json ]
16-
echo '{\n\t\"api-key\":\"Your API Key\"\n}' >> examples/example-config.json
17-
fi"
12+
"post-install-cmd": "if [ ! -f 'examples/example-config.json' ]; then echo '{\n\t\"api-key\":\"Your API Key\"\n}' >> examples/example-config.json; fi",
13+
"post-update-cmd": "if [ ! -f 'examples/example-config.json' ]; then echo '{\n\t\"api-key\":\"Your API Key\"\n}' >> examples/example-config.json; fi",
14+
"test": "phpunit --coverage-html test/output/report --bootstrap test/unit/bootstrap.php ./test/unit/"
1815
},
1916
"require": {
2017
"php": ">=5.3.0",

0 commit comments

Comments
 (0)