Now running all tests in Release configuration instead of Debug.

This commit is contained in:
Oliver Letterer 2013-05-21 12:25:57 +02:00
parent efb36aaa99
commit 61ef1f652b

View file

@ -1,12 +1,12 @@
namespace :test do namespace :test do
desc "Run the AFNetworking Tests for iOS" desc "Run the AFNetworking Tests for iOS"
task :ios do task :ios do
$ios_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'iOS Tests' test -test-sdk iphonesimulator") $ios_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'iOS Tests' test -test-sdk iphonesimulator -configuration Release")
end end
desc "Run the AFNetworking Tests for Mac OS X" desc "Run the AFNetworking Tests for Mac OS X"
task :osx do task :osx do
$osx_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'OS X Tests' test -test-sdk macosx -sdk macosx") $osx_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'OS X Tests' test -test-sdk macosx -sdk macosx -configuration Release")
end end
end end