0
@@ -33,7 +33,7 @@ task :build => "xcode:build:#{DEFAULT_TARGET}:#{DEFAULT_CONFIGURATION}"
0
desc 'Deep clean of everything'
0
- puts %x{ xcodebuild -alltargets clean }
0
+ puts %x{ xcodebuild -alltargets clean OBJROOT=build/ SYMROOT=build/ }
0
desc "Add files to Xcode project"
0
@@ -123,7 +123,7 @@ namespace :xcode do
0
targets.each do |target|
0
desc "#{action} #{target}"
0
task "#{target}" do |t|
0
- puts %x{ xcodebuild -target '#{target}' #{action} }
0
+ puts %x{ xcodebuild -target '#{target}' #{action} OBJROOT=build/ SYMROOT=build/ }
0
# alias the task above using a massaged name
0
@@ -135,7 +135,7 @@ namespace :xcode do
0
configs.each do |config|
0
desc "#{action} #{target} #{config}"
0
task "#{config}" do |t|
0
- puts %x{ xcodebuild -target '#{target}' -configuration '#{config}' #{action} }
0
+ puts %x{ xcodebuild -target '#{target}' -configuration '#{config}' #{action} SYMROOT=build/ OBJROOT=build/ }
Comments
No one has commented yet.