Add 'clobber' task for purging generated files.

This commit is contained in:
Jon Frisby 2013-02-20 11:56:54 -08:00
parent f64fa33d69
commit 82f7d92ef0

View File

@ -223,6 +223,11 @@ task :clean do
puts "## Cleaned Sass, Pygments and Gist caches, removed generated stylesheets ##" puts "## Cleaned Sass, Pygments and Gist caches, removed generated stylesheets ##"
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'