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:
|
||||
recipients:
|
||||
- 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
|
||||
sh "git fetch"
|
||||
sh "git checkout #{V8_Version}"
|
||||
sh "make dependencies"
|
||||
end
|
||||
end
|
||||
|
||||
task :compile do
|
||||
Dir.chdir(V8_Source) do
|
||||
puts "compiling libv8"
|
||||
sh "make dependencies"
|
||||
sh "make native GYP_GENERATORS=make"
|
||||
end
|
||||
end
|
||||
|
@ -41,7 +41,8 @@ end
|
|||
desc "clean up artifacts of the build"
|
||||
task :clean do
|
||||
sh "rm -rf pkg"
|
||||
sh "cd #{V8_Source} && rm -rf out"
|
||||
sh "cd #{V8_Source} && git clean -dxf"
|
||||
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
|
||||
puts "compiling libv8"
|
||||
puts `make dependencies`
|
||||
puts `make native GYP_GENERATORS=make`
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue