Skip to content

Commit

Permalink
add minify task
Browse files Browse the repository at this point in the history
  • Loading branch information
janl committed Feb 24, 2012
1 parent ce37e83 commit d881e65
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Rakefile
Expand Up @@ -52,3 +52,11 @@ templated_build "Dojo", :location => "dojox/string"
templated_build "YUI3", :location => "yui3/mustache"
templated_build "RequireJS"
templated_build "qooxdoo"

task :minify do
# npm install uglify-js
mmjs = "mustache.min.js"
`echo "/*! Version: 0.4.2-dev */" > #{mmjs}`
`uglifyjs mustache.js >> #{mmjs}`
puts "Created #{mmjs}"
end

0 comments on commit d881e65

Please sign in to comment.