reverts Makefile to how it was
This commit is contained in:
parent
f04b149b23
commit
309bcb09f3
10
Makefile
10
Makefile
@ -9,9 +9,19 @@ JS_CLIENT_FILES= lib/torque/*.js \
|
|||||||
lib/torque/leaflet/canvas_layer.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
|
||||||
|
|
||||||
dist/torque.full.uncompressed.js: dist_folder dist/torque.uncompressed.js
|
dist/torque.full.uncompressed.js: dist_folder dist/torque.uncompressed.js
|
||||||
$(BROWSERIFY) lib/torque/index.js --standalone torque > dist/torque.full.uncompressed.js
|
$(BROWSERIFY) lib/torque/index.js --standalone torque > dist/torque.full.uncompressed.js
|
||||||
|
|
||||||
|
dist/torque.full.js: dist_folder dist/torque.full.uncompressed.js
|
||||||
|
$(UGLIFYJS) dist/torque.full.uncompressed.js > dist/torque.full.js
|
||||||
|
|
||||||
|
dist/torque.uncompressed.js: dist_folder $(JS_CLIENT_FILES)
|
||||||
|
$(BROWSERIFY) lib/torque/index.js --no-bundle-external --standalone torque > dist/torque.uncompressed.js
|
||||||
|
|
||||||
|
dist/torque.js: dist_folder dist/torque.uncompressed.js
|
||||||
|
$(UGLIFYJS) dist/torque.uncompressed.js > dist/torque.js
|
||||||
|
|
||||||
dist_folder:
|
dist_folder:
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
|
Loading…
Reference in New Issue
Block a user