Skip to content

Commit

Permalink
We need to fix the Travis/RVM 1.8.7 install by symlinking the Ruby in…
Browse files Browse the repository at this point in the history
…clude dir.
  • Loading branch information
alloy committed Feb 22, 2012
1 parent 46c5e42 commit 7e2875a
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Rakefile
Expand Up @@ -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]
Expand Down

0 comments on commit 7e2875a

Please sign in to comment.