Makefile 285 B

123456789101112
  1. # Makefile for generating minified files
  2. .PHONY: all
  3. # we cheat and process all .js files instead of an exhaustive list
  4. all: $(patsubst %.js,%.min.js,$(filter-out %.min.js,$(wildcard *.js)))
  5. %.min.js: %.js
  6. yui-compressor $< -o $@
  7. test:
  8. ./node_modules/.bin/jshint *jquery.flot.js