Skip to content

Commit

Permalink
shuffle build to accomodate travis
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboyd committed Apr 26, 2012
1 parent e966754 commit 02bd61d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ rvm:
notifications:
recipients:
- [email protected]

before_install:
- sudo apt-get install subversion
7 changes: 4 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
1 change: 0 additions & 1 deletion ext/libv8/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@

Dir.chdir(File.expand_path '../../../vendor/v8', __FILE__) do
puts "compiling libv8"
puts `make dependencies`
puts `make native GYP_GENERATORS=make`
end

0 comments on commit 02bd61d

Please sign in to comment.