Skip to content

Instantly share code, notes, and snippets.

@lukeredpath
Created August 31, 2010 18:57
Show Gist options
  • Select an option

  • Save lukeredpath/559521 to your computer and use it in GitHub Desktop.

Select an option

Save lukeredpath/559521 to your computer and use it in GitHub Desktop.
xcodebuild do |x|
x.name = "LROAuth2Client"
x.prefix = "lib"
x.build_dir = "build"
scheme :device do |t|
t.target = "#{x.name}-Device"
t.configuration = "Release"
end
scheme :simulator do |t|
t.target = "#{x.name}-Simulator"
t.configuration = "Release"
end
scheme :release, :combined => true do |t|
t.schemes %w{device simulator}
end
framework :using => :release
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment