Created
June 16, 2015 00:13
-
-
Save enriquez/5290f3d749cf6d68783a to your computer and use it in GitHub Desktop.
Example Rake tasks for building and testing apps with xctool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc 'Run Tests' | |
task :test do | |
system 'xctool -workspace MyApp.xcworkspace -scheme MyApp -configuration Debug -sdk iphonesimulator run-tests' | |
end | |
namespace :myapp do | |
desc 'Build archive for MyApp Beta' | |
task :build_beta do | |
system 'xctool -workspace MyApp.xcworkspace -scheme MyApp -configuration Beta archive' | |
end | |
desc 'Build archive for MyApp Release' | |
task :build_release do | |
system 'xctool -workspace MyApp.xcworkspace -scheme MyApp -configuration Release archive' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment