Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (17 sloc) 605 Bytes
.PHONY: all jslint csslint hudson cleanreports jsxml cssxml
SRC_ROOT=./test/src
REPORT_ROOT=./test/reports
all: jslint csslint hudson
jslint:
@find $(SRC_ROOT) -name '*.js' -exec ./scripts/run-jslint.sh {} \;
csslint:
@find $(SRC_ROOT) -name '*.css' -exec ./scripts/run-jslint.sh {} \;
hudson: cleanreports jsxml cssxml
@cat $(REPORT_ROOT)/*
cleanreports:
@rm -rf $(REPORT_ROOT)
@mkdir -p $(REPORT_ROOT)
jsxml:
@find $(SRC_ROOT) -name '*.js' -exec ./scripts/jslint-to-xml.sh {} $(REPORT_ROOT) \;
cssxml:
@find $(SRC_ROOT) -name '*.css' -exec ./scripts/jslint-to-xml.sh {} $(REPORT_ROOT) \;