ソースを参照

add minify task

tags/0.4.2
Jan Lehnardt 14年前
コミット
d881e65044
1個のファイルの変更8行の追加0行の削除
  1. +8
    -0
      Rakefile

+ 8
- 0
Rakefile ファイルの表示

@@ -52,3 +52,11 @@ templated_build "Dojo", :location => "dojox/string"
templated_build "YUI3", :location => "yui3/mustache" templated_build "YUI3", :location => "yui3/mustache"
templated_build "RequireJS" templated_build "RequireJS"
templated_build "qooxdoo" 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

読み込み中…
キャンセル
保存