Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 210 Bytes
require 'jsmin'
file 'donatello.js'
task :minify => 'donatello.js' do
File.open('donatello.min.js','w') do |file|
file.write(JSMin.minify(File.read('donatello.js')))
end
end
task :default => :minify