Permalink
Browse files

Merge pull request #1 from enaeseth/master

Use Google Closure API to build
  • Loading branch information...
2 parents 080b675 + 700cbe2 commit e1d4aa19814d53ed737f6734103aa86cc7168d04 @visualmotive visualmotive committed May 24, 2011
Showing with 4 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +3 −1 Makefile
  3. BIN yuicompressor-2.4.2.jar
View
@@ -0,0 +1 @@
+build
View
@@ -45,7 +45,9 @@ build/rotarymaps.js: $(JS_FILES) Makefile
build/rotarymaps_min.js: build/rotarymaps.js
rm -f $@
cat js/license.js >> $@
- cat build/rotarymaps.js | java -jar yuicompressor-2.4.2.jar --charset UTF-8 --type js >> $@
+ curl -s --data-urlencode 'js_code@build/rotarymaps.js' --data-urlencode 'output_format=text' \
+ --data-urlencode 'output_info=compiled_code' http://closure-compiler.appspot.com/compile \
+ >> $@
release/rotarymaps_min.$(VERSION).js: build/rotarymaps_min.js
mkdir -p release
View
Binary file not shown.

0 comments on commit e1d4aa1

Please sign in to comment.