Permalink
Browse files

Add compressed script and also the rakefile to do it :)

  • Loading branch information...
1 parent 0815378 commit 0ae18aa45266882584194d20df573896e653a3c2 @benschwarz committed Dec 15, 2010
Showing with 19 additions and 0 deletions.
  1. +4 −0 Rakefile
  2. +15 −0 public/javascripts/application.min.js
View
@@ -0,0 +1,4 @@
+desc "Compress javascripts into /public/javascripts/application.min.js"
+task :compress_scripts do
+ `closure --js=public/javascripts/json.js --js=public/javascripts/dataset.js --js=public/javascripts/application.js --compilation_level=SIMPLE_OPTIMIZATIONS --js_output_file=public/javascripts/application.min.js`
+end

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 0ae18aa

Please sign in to comment.