Browse files

Add OBJROOT=build/ and SYMROOT=build/ to all xcodebuild tasks besides…

… -list
  • Loading branch information...
1 parent 4f75917 commit fc4de4ef7a337d4b391fad6ff33d357cf2bad074 @kballard kballard committed Mar 13, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 Rakefile
View
6 Rakefile
@@ -33,7 +33,7 @@ task :build => "xcode:build:#{DEFAULT_TARGET}:#{DEFAULT_CONFIGURATION}"
desc 'Deep clean of everything'
task :clean do
- puts %x{ xcodebuild -alltargets clean }
+ puts %x{ xcodebuild -alltargets clean OBJROOT=build/ SYMROOT=build/ }
end
desc "Add files to Xcode project"
@@ -123,7 +123,7 @@ namespace :xcode do
targets.each do |target|
desc "#{action} #{target}"
task "#{target}" do |t|
- puts %x{ xcodebuild -target '#{target}' #{action} }
+ puts %x{ xcodebuild -target '#{target}' #{action} OBJROOT=build/ SYMROOT=build/ }
end
# alias the task above using a massaged name
@@ -135,7 +135,7 @@ namespace :xcode do
configs.each do |config|
desc "#{action} #{target} #{config}"
task "#{config}" do |t|
- puts %x{ xcodebuild -target '#{target}' -configuration '#{config}' #{action} }
+ puts %x{ xcodebuild -target '#{target}' -configuration '#{config}' #{action} SYMROOT=build/ OBJROOT=build/ }
end
end
end

0 comments on commit fc4de4e

Please sign in to comment.