Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 326 Bytes
# See the README for installation instructions.
NODE_PATH ?= ./node_modules
JS_COMPILER = $(NODE_PATH)/uglify-js/bin/uglifyjs
JS_TESTER = $(NODE_PATH)/vows/bin/vows
JS_FILES = \
queue.js
all: \
$(JS_FILES) \
$(JS_FILES:.js=.min.js)
test: all
@$(JS_TESTER)
%.min.js: %.js Makefile
@rm -f $@
$(JS_COMPILER) < $< > $@