Skip to content

Commit de5813c

Browse files
committed
Add rake clean to force recompiling our cached version of Redis.
1 parent a6e132f commit de5813c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Rakefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,18 @@ task :stop do
4444
end
4545
end
4646

47+
desc "Clean up testing artifacts"
48+
task :clean do
49+
FileUtils.rm_f(BINARY)
50+
end
51+
4752
file BINARY do
4853
branch = ENV.fetch("REDIS_BRANCH")
4954

5055
sh <<-SH
5156
mkdir -p tmp;
5257
cd tmp;
58+
rm -rf redis-#{branch};
5359
wget https://github.com/antirez/redis/archive/#{branch}.tar.gz -O #{branch}.tar.gz;
5460
tar xf #{branch}.tar.gz;
5561
cd redis-#{branch};

0 commit comments

Comments
 (0)