Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Openlayers #441

Open
wants to merge 15 commits into
base: devel
Choose a base branch
from
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ JSDEPS= \
$(LIBS)/loggly-jslogger/src/loggly.tracker.js \
$(LIBS)/cartodb.js/cartodb.js \
$(LIBS)/cartodb.js/cartodb.mod.torque.js \
$(LIBS)/clipboard.js/clipboard.min.js
$(LIBS)/clipboard.js/clipboard.min.js \
$(LIBS)/bower-ol3/build/ol.js

CSSDEPS= \
$(LIBS)/font-awesome/css/font-awesome.min.css \
Expand Down Expand Up @@ -58,14 +59,14 @@ js-build/build-succeded: js-dojo-build/build-succeded js-build/deps.js js-build/
(cd js-dojo-build; find . -type f \! -name "*.js") | while read name; do cp "js-dojo-build/$$name" "js-build/$$name"; done
(cd js/libs; find . -type d) | while read name; do mkdir -p "js-build/libs/$$name"; done
(cd js/libs; find . -type f \! -name "*.js") | while read name; do cp "js/libs/$$name" "js-build/libs/$$name"; done
cp js-dojo-build/app/app.js.uncompressed.js js-build/app/app.js.uncompressed.js
cp js-dojo-build/app/app.js js-build/app/app.js.uncompressed.js
cp js-dojo-build/app/nls/* js-build/app/nls/
cp js-dojo-build/app/TabletMeta.js js-build/app/TabletMeta.js
# Minify app.js
node_modules/.bin/uglifyjs js-build/app/app.js.uncompressed.js --screw-ie8 --keep-fnames --stats -o js-build/app/app.js
touch $@

js-build/deps.js: $(JSDEPS) js/app/CanvasLayer.js
js-build/deps.js: $(JSDEPS)
mkdir -p js-build
for name in $^; do cat $$name; echo; done > $@

Expand Down
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"easyXDM": "~2.4.17",
"cartodb.js": "https://github.com/SkyTruth/cartodb.js-bower.git#3.15.8-skytruth-4",
"dojo-theme-flat": "https://github.com/Esri/dojo-theme-flat.git",
"clipboard.js": "~0.2.0"
"clipboard.js": "~0.2.0",
"bower-ol3": "ol3#^3.4.0"
}
}
Loading