1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00

reset the v8 directory completely on a clean

This commit is contained in:
Charles Lowell 2012-12-20 14:31:11 -06:00
parent 16ab99bcf6
commit d58d5e485e

View file

@ -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]