Use browserify var

This commit is contained in:
Francisco López 2017-02-16 17:35:44 +01:00
parent 755da6d19e
commit b2d4f55cec

View File

@ -7,7 +7,7 @@ JS_CLIENT_FILES= lib/torque/*.js \
lib/torque/gmaps/*.js \
lib/torque/leaflet/leaflet_tileloader_mixin.js \
lib/torque/leaflet/canvas_layer.js \
lib/torque/leaflet/torque.js
lib/torque/leaflet/torque.js
all: dist/torque.js dist/torque.full.js add-header
@ -35,7 +35,7 @@ add-header:
node lib/header.js
prepare-test-suite:
browserify test/suite.js > test/suite-bundle.js
$(BROWSERIFY) test/suite.js > test/suite-bundle.js
test: prepare-test-suite
@echo "***tests***"
@ -47,7 +47,7 @@ test-acceptance: clean-results
test-all: test test-acceptance
clean:
clean:
rm -rf dist
.PHONY: clean dist_folder