Update clean/clobber tasks to get JS assets and be more informative about what's going on.

This commit is contained in:
Jon Frisby 2013-04-10 09:58:04 -07:00
parent 21cd6de44a
commit 5f7dee2caa
1 changed files with 2 additions and 1 deletions

View File

@ -257,7 +257,7 @@ end
desc "Clean out caches: .pygments-cache, .gist-cache, .sass-cache, and Compass-generated files."
task :clean do
rm_rf [".pygments-cache", ".gist-cache"]
rm_rf [".pygments-cache", ".gist-cache", File.join(configuration[:source], "javascripts/build")]
system "compass clean"
puts "## Cleaned Compass-generated files, and various caches ##"
end
@ -265,6 +265,7 @@ end
desc "Remove generated files (#{configuration[:destination]} directory)."
task :clobber do
rm_rf [configuration[:destination]]
puts "## Cleaned generated site in #{configuration[:destination]} ##"
end
desc "Update theme source and style"