From 63b0fc6269b38edf7234b9f151b80d81f614c0a3 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 4 Aug 2015 10:11:24 +0300 Subject: Initial commit First public commit --- static/js/flot/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 static/js/flot/Makefile (limited to 'static/js/flot/Makefile') diff --git a/static/js/flot/Makefile b/static/js/flot/Makefile new file mode 100755 index 0000000..c3aba86 --- /dev/null +++ b/static/js/flot/Makefile @@ -0,0 +1,12 @@ +# Makefile for generating minified files + +.PHONY: all + +# we cheat and process all .js files instead of an exhaustive list +all: $(patsubst %.js,%.min.js,$(filter-out %.min.js,$(wildcard *.js))) + +%.min.js: %.js + yui-compressor $< -o $@ + +test: + ./node_modules/.bin/jshint *jquery.flot.js -- cgit v1.2.3