adds add-header target to Makefile

This commit is contained in:
Francisco Dans 2015-07-30 17:06:40 +02:00
parent df99c918d1
commit 786d6c1edc

View File

@ -9,7 +9,7 @@ JS_CLIENT_FILES= lib/torque/*.js \
lib/torque/leaflet/canvas_layer.js \
lib/torque/leaflet/torque.js
all: dist/torque.js dist/torque.full.js
all: dist/torque.js dist/torque.full.js add-header
dist/torque.full.uncompressed.js: dist_folder dist/torque.uncompressed.js
$(BROWSERIFY) lib/torque/index.js --standalone torque > dist/torque.full.uncompressed.js
@ -31,6 +31,9 @@ dist: dist_folder dist/torque.js
clean-results:
-@rm test/results/*.png
add-header:
node lib/header.js
prepare-test-suite:
browserify test/suite.js > test/suite-bundle.js