Linting
This commit is contained in:
parent
6a2872912a
commit
3a8aad0f36
4
Makefile
4
Makefile
@ -113,11 +113,11 @@ browser-test:
|
||||
# To install gjslint, see:
|
||||
#
|
||||
# <http://code.google.com/closure/utilities/docs/linter_howto.html>
|
||||
SRC_DIRS := . utils web test examples/helloworld extensions/firefox \
|
||||
SRC_DIRS := . src utils web test examples/helloworld extensions/firefox \
|
||||
extensions/firefox/components
|
||||
GJSLINT_FILES = $(foreach DIR,$(SRC_DIRS),$(wildcard $(DIR)/*.js))
|
||||
lint:
|
||||
gjslint $(GJSLINT_FILES)
|
||||
gjslint --nojsdoc $(GJSLINT_FILES)
|
||||
|
||||
# make web
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user