Skip to content

Commit

Permalink
reset the v8 directory completely on a clean
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboyd committed Dec 20, 2012
1 parent 16ab99b commit d58d5e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand All @@ -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]
Expand Down

0 comments on commit d58d5e4

Please sign in to comment.