Merge pull request #1658 from kamatari/fix-rake-clean
enable wildcard of rm_rf
This commit is contained in:
commit
c434de5977
2
Rakefile
2
Rakefile
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user