Add Makefile command to run jshint

This commit is contained in:
Frederic Guillot 2016-12-02 18:21:15 -05:00
parent d1372ae85d
commit b5671a2dc0
No known key found for this signature in database
GPG Key ID: 92D77191BA7FBC99
1 changed files with 4 additions and 3 deletions

View File

@ -9,7 +9,10 @@ static: clean
@ npm install @ npm install
@ ./node_modules/.bin/gulp bower @ ./node_modules/.bin/gulp bower
@ ./node_modules/.bin/gulp vendor js css @ ./node_modules/.bin/gulp vendor js css
@ ./node_modules/.bin/jshint assets/js/{core,components} @ ./node_modules/.bin/jshint assets/js/{core,components,polyfills}
jshint:
@ ./node_modules/.bin/jshint assets/js/{core,components,polyfills}
archive: archive:
@ echo "Build archive: version=${version}, destination=${dst}" @ echo "Build archive: version=${version}, destination=${dst}"
@ -60,8 +63,6 @@ test-mysql:
test-postgres: test-postgres:
@ ./vendor/bin/phpunit -c tests/units.postgres.xml @ ./vendor/bin/phpunit -c tests/units.postgres.xml
unittest: test-sqlite test-mysql test-postgres
test-browser: test-browser:
@ ./vendor/bin/phpunit -c tests/acceptance.xml @ ./vendor/bin/phpunit -c tests/acceptance.xml