summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-12-02 18:21:15 -0500
committerFrederic Guillot <fred@kanboard.net>2016-12-02 18:21:15 -0500
commitb5671a2dc04b63a8d7787b1137e72d7858955d98 (patch)
treebbc8891e8d64f8a01d5c9aca492bc61c93cc9cdc
parentd1372ae85d55958f7237a8f56206ba877fa7f007 (diff)
Add Makefile command to run jshint
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0f37a58e..4cd84074 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,10 @@ static: clean
@ npm install
@ ./node_modules/.bin/gulp bower
@ ./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:
@ echo "Build archive: version=${version}, destination=${dst}"
@@ -60,8 +63,6 @@ test-mysql:
test-postgres:
@ ./vendor/bin/phpunit -c tests/units.postgres.xml
-unittest: test-sqlite test-mysql test-postgres
-
test-browser:
@ ./vendor/bin/phpunit -c tests/acceptance.xml