Skip to content
Browse files

We need to fix the Travis/RVM 1.8.7 install by symlinking the Ruby in…

…clude dir.
  • Loading branch information...
1 parent 46c5e42 commit 7e2875a6bca1c3d9cb98262d8361a103651ae581 @alloy alloy committed Feb 22, 2012
Showing with 3 additions and 8 deletions.
  1. +3 −8 Rakefile
View
11 Rakefile
@@ -42,19 +42,14 @@ namespace :gem do
end
namespace :ext do
- EXT_DIR = "./external/Xcodeproj/ext/xcodeproj"
+ XCODEPROJ_DIR = "./external/Xcodeproj"
task :clean do
- Dir.chdir(EXT_DIR) do
- sh "rm -f Makefile *.o *.bundle"
- end
+ sh "cd #{XCODEPROJ_DIR} && rake ext:clean"
end
task :build do
- Dir.chdir(EXT_DIR) do
- ruby "extconf.rb"
- sh "make"
- end
+ sh "cd #{XCODEPROJ_DIR} && rake ext:build"
end
task :cleanbuild => [:clean, :build]

0 comments on commit 7e2875a

Please sign in to comment.
Something went wrong with that request. Please try again.