angularjs-imageupload-directive
Version:
Upload and resize images with AngularJS. Proof of Concept.
15 lines (12 loc) • 441 B
Plain Text
JSHINT=./node_modules/jshint/bin/jshint
JSHINTFLAGS=
js_files=$(shell find src -name '*.js')
jshint: $(js_files)
$(JSHINT) $(JSHINTFLAGS) $?
# .PHONY just tells make that these rules don't produce files. So if there is a
# file called "jshint", it won't interpret that file as the output of the
# jshint recipe.
watch:
watchman watch $(shell pwd)/src
watchman -- trigger $(shell pwd)/src remake *.js *.css -- make jshint