mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
shuffle build to accomodate travis
This commit is contained in:
parent
e966754839
commit
02bd61d7fa
3 changed files with 6 additions and 5 deletions
|
@ -7,4 +7,5 @@ rvm:
|
||||||
notifications:
|
notifications:
|
||||||
recipients:
|
recipients:
|
||||||
- cowboyd@thefrontside.net
|
- cowboyd@thefrontside.net
|
||||||
|
before_install:
|
||||||
|
- sudo apt-get install subversion
|
||||||
|
|
7
Rakefile
7
Rakefile
|
@ -12,13 +12,13 @@ task :checkout do
|
||||||
Dir.chdir(V8_Source) do
|
Dir.chdir(V8_Source) do
|
||||||
sh "git fetch"
|
sh "git fetch"
|
||||||
sh "git checkout #{V8_Version}"
|
sh "git checkout #{V8_Version}"
|
||||||
|
sh "make dependencies"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
task :compile do
|
task :compile do
|
||||||
Dir.chdir(V8_Source) do
|
Dir.chdir(V8_Source) do
|
||||||
puts "compiling libv8"
|
puts "compiling libv8"
|
||||||
sh "make dependencies"
|
|
||||||
sh "make native GYP_GENERATORS=make"
|
sh "make native GYP_GENERATORS=make"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -41,7 +41,8 @@ end
|
||||||
desc "clean up artifacts of the build"
|
desc "clean up artifacts of the build"
|
||||||
task :clean do
|
task :clean do
|
||||||
sh "rm -rf pkg"
|
sh "rm -rf pkg"
|
||||||
sh "cd #{V8_Source} && rm -rf out"
|
sh "cd #{V8_Source} && git clean -dxf"
|
||||||
end
|
end
|
||||||
|
|
||||||
task :default => [:compile, :spec]
|
task :default => [:checkout, :compile, :spec]
|
||||||
|
task :build => :checkout
|
|
@ -4,6 +4,5 @@ create_makefile('libv8')
|
||||||
|
|
||||||
Dir.chdir(File.expand_path '../../../vendor/v8', __FILE__) do
|
Dir.chdir(File.expand_path '../../../vendor/v8', __FILE__) do
|
||||||
puts "compiling libv8"
|
puts "compiling libv8"
|
||||||
puts `make dependencies`
|
|
||||||
puts `make native GYP_GENERATORS=make`
|
puts `make native GYP_GENERATORS=make`
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue