Skip to content

Commit

Permalink
[chore] static analysis: add "addons-linter" target
Browse files Browse the repository at this point in the history
  • Loading branch information
myrdd committed Aug 20, 2016
1 parent 1d2cd54 commit 10f73e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ marionette: venv \
jshint_args :=
jscs_args :=

.PHONY: static-analysis jshint jscs
static-analysis: jshint jscs
.PHONY: static-analysis jshint jscs addons-linter
static-analysis: jshint jscs addons-linter
jshint:
jshint --extra-ext jsm --exclude '**/jquery.min.js' $(jshint_args) src/
jshint $(jshint_args) tests/xpcshell/
Expand All @@ -448,6 +448,8 @@ jscs:
cd src/; jscs $(jscs_args) .
cd tests/xpcshell/; jscs $(jscs_args) .
cd tests/helper-addons/; jscs $(jscs_args) .
addons-linter: nightly-xpi
addons-linter $(xpi_file__nightly)


#===============================================================================
Expand Down

0 comments on commit 10f73e0

Please sign in to comment.