Skip to content

Instantly share code, notes, and snippets.

@jamiejackson
Created July 26, 2012 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamiejackson/3183570 to your computer and use it in GitHub Desktop.
Save jamiejackson/3183570 to your computer and use it in GitHub Desktop.
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"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment