From d58d5e485ef339cf346128541b91174402aa4d08 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Thu, 20 Dec 2012 14:31:11 -0600 Subject: [PATCH] reset the v8 directory completely on a clean --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 9c41bff6..ed8bfa5f 100644 --- a/Rakefile +++ b/Rakefile @@ -52,7 +52,7 @@ def get_binary_gemspec(platform = RUBY_PLATFORM) gemspec end -begin +begin binary_gem_name = File.basename get_binary_gemspec.cache_file rescue binary_gem_name = '' @@ -75,7 +75,7 @@ desc "clean up artifacts of the build" task :clean do sh "rm -rf pkg" sh "git clean -df" - sh "cd #{V8_Source} && git clean -dxf" + sh "cd #{V8_Source} && git co -f && git clean -dxf" end task :default => [:checkout, :compile, :spec]