OpenXE/www/js/flot/Makefile

13 lines
285 B
Makefile
Raw Normal View History

2021-05-21 08:49:41 +02:00
# 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