Merge pull request #1039 from carsonmcdonald/testbuildfix
Add build and build-tests steps to fix failing build
This commit is contained in:
commit
9383817204
2 changed files with 5 additions and 1 deletions
4
Rakefile
4
Rakefile
|
|
@ -1,11 +1,15 @@
|
||||||
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' build -sdk iphonesimulator -configuration Release")
|
||||||
|
$ios_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'iOS Tests' build-tests -sdk iphonesimulator -configuration Release")
|
||||||
$ios_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'iOS Tests' test -test-sdk iphonesimulator -configuration Release")
|
$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
|
||||||
|
$ios_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'OS X Tests' build -sdk macosx -configuration Release")
|
||||||
|
$ios_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'OS X Tests' build-tests -sdk macosx -configuration Release")
|
||||||
$osx_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'OS X Tests' test -test-sdk macosx -sdk macosx -configuration Release")
|
$osx_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'OS X Tests' test -test-sdk macosx -sdk macosx -configuration Release")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
version = "1.3">
|
version = "1.3">
|
||||||
<BuildAction
|
<BuildAction
|
||||||
parallelizeBuildables = "YES"
|
parallelizeBuildables = "YES"
|
||||||
buildImplicitDependencies = "YES">
|
buildImplicitDependencies = "NO">
|
||||||
<BuildActionEntries>
|
<BuildActionEntries>
|
||||||
<BuildActionEntry
|
<BuildActionEntry
|
||||||
buildForTesting = "YES"
|
buildForTesting = "YES"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue