enable wildcard of rm_rf

This commit is contained in:
Masahiro Kamata 2014-10-04 08:56:28 +09:00
parent 6bd719fd96
commit 9b43210b8a

View File

@ -175,7 +175,7 @@ end
desc "Clean out caches: .pygments-cache, .gist-cache, .sass-cache" desc "Clean out caches: .pygments-cache, .gist-cache, .sass-cache"
task :clean do task :clean do
rm_rf [".pygments-cache/**", ".gist-cache/**", ".sass-cache/**", "source/stylesheets/screen.css"] rm_rf [Dir.glob(".pygments-cache/**"), Dir.glob(".gist-cache/**"), Dir.glob(".sass-cache/**"), "source/stylesheets/screen.css"]
end end
desc "Move sass to sass.old, install sass theme updates, replace sass/custom with sass.old/custom" desc "Move sass to sass.old, install sass theme updates, replace sass/custom with sass.old/custom"