From 9b43210b8a72bd277004bf9633f4e36c27209ec0 Mon Sep 17 00:00:00 2001 From: Masahiro Kamata <8.incidents.sr.9@gmail.com> Date: Sat, 4 Oct 2014 08:56:28 +0900 Subject: [PATCH] enable wildcard of rm_rf --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 81a03df..f7084da 100644 --- a/Rakefile +++ b/Rakefile @@ -175,7 +175,7 @@ end desc "Clean out caches: .pygments-cache, .gist-cache, .sass-cache" 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 desc "Move sass to sass.old, install sass theme updates, replace sass/custom with sass.old/custom"