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

add check to see which python script is failing

This commit is contained in:
Charles Lowell 2015-07-03 15:20:09 -05:00
parent 7aafb0ff99
commit 4df4f19e2a

View file

@ -99,10 +99,12 @@ module Libv8
fetch = File.expand_path('../../../vendor/depot_tools/fetch', __FILE__)
gclient = File.expand_path('../../../vendor/depot_tools/gclient', __FILE__)
Dir.chdir(File.expand_path('../../../vendor', __FILE__)) do
`#{fetch} v8`
system "#{fetch} v8" or fail "unable to fetch v8 source"
Dir.chdir('v8') do
`git checkout #{source_version}`
`#{gclient} sync`
unless system "git checkout #{source_version}"
fail "unable to checkout source for v8 #{source_version}"
end
system "#{gclient} sync" or fail "could not sync v8 build dependencies"
end
end
end