public
Created

  • Download Gist
warble.rake
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
require 'warbler'
Warbler::Task.new
 
namespace :war do
task :clean_all do
desc "Remove all war files"
rm_f "*.war"
end
end
 
namespace :war do
task :clean => ["war:clean_all"]
end
 
namespace :assets do
task :precompile => ["assets:clean"]
end
 
task :war => ["assets:precompile"]

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.