From 10f73e00d73e98ca6f039afbfbcf4f7a422a7837 Mon Sep 17 00:00:00 2001 From: Martin Kimmerle Date: Sat, 20 Aug 2016 09:53:31 +0200 Subject: [PATCH] [chore] static analysis: add "addons-linter" target --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fc076f11..864adc07 100644 --- a/Makefile +++ b/Makefile @@ -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/ @@ -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) #===============================================================================