Merge pull request #1037 from MrJoy/add_clobber_task

Add 'clobber' task for purging generated files.
This commit is contained in:
Parker Moore 2013-03-05 16:30:20 -08:00
commit c95867e61c

View File

@ -253,6 +253,11 @@ task :clean do
puts "## Cleaned Compass-generated files, and various caches ##" puts "## Cleaned Compass-generated files, and various caches ##"
end end
desc "Remove generated files (#{configuration[:destination]} directory)."
task :clobber do
rm_rf [configuration[:destination]]
end
desc "Update theme source and style" desc "Update theme source and style"
task :update, :theme do |t, args| task :update, :theme do |t, args|
theme = args.theme || 'classic' theme = args.theme || 'classic'