diff --git a/.travis.yml b/.travis.yml index 202e8826..85ac844b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,5 @@ rvm: notifications: recipients: - cowboyd@thefrontside.net - +before_install: + - sudo apt-get install subversion diff --git a/Rakefile b/Rakefile index bc6f3e05..da65fc49 100644 --- a/Rakefile +++ b/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 \ No newline at end of file diff --git a/ext/libv8/extconf.rb b/ext/libv8/extconf.rb index 69170ad3..7400f3ed 100644 --- a/ext/libv8/extconf.rb +++ b/ext/libv8/extconf.rb @@ -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