Restore functionality of Rake tasks

This commit is contained in:
Blake Watters 2013-05-11 13:24:41 -04:00
parent 4f04b35378
commit 91cf441582
3 changed files with 12 additions and 8 deletions

View file

@ -1,16 +1,16 @@
namespace :test do
desc "Run the AFNetworking Tests for iOS"
task :ios do
system('xctool -workspace AFNetworking.xcworkspace -scheme AFNetworkingTests test -test-sdk iphonesimulator')
system("xctool -workspace AFNetworking.xcworkspace -scheme 'iOS Tests' test -test-sdk iphonesimulator")
end
desc "Run the AFNetworking Tests for Mac OS X"
task :osx do
system('xctool -workspace AFNetworking.xcworkspace -scheme AFNetworkingFrameworkTests test -test-sdk macosx -sdk macosx')
system("xctool -workspace AFNetworking.xcworkspace -scheme 'OS X Tests' test -test-sdk macosx -sdk macosx")
end
end
desc "Run the AFNetworking Tests for iOS & Mac OS X"
task :all => ['test:ios', 'test:osx']
end
task :test => ['test:ios', 'test:osx']
task :default => 'test:all'
task :default => 'test'

View file

@ -19,6 +19,8 @@
25801543173EB3A70026AA6E /* AFHTTPRequestOperationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 2580153B173EB3A70026AA6E /* AFHTTPRequestOperationTest.m */; };
25801546173EB3A70026AA6E /* AFNetworkingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 2580153F173EB3A70026AA6E /* AFNetworkingTests.m */; };
25801547173EB3A70026AA6E /* AFNetworkingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 2580153F173EB3A70026AA6E /* AFNetworkingTests.m */; };
2580154B173EB62E0026AA6E /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 25C4EC2A173D7DB30083E116 /* SystemConfiguration.framework */; };
2580154C173EB6340026AA6E /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 25C4EC2C173D7DBA0083E116 /* CoreServices.framework */; };
25C4EC41173D86AE0083E116 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 25C4EC32173D7DD20083E116 /* SystemConfiguration.framework */; };
25C4EC42173D86B60083E116 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 25C4EC30173D7DCA0083E116 /* MobileCoreServices.framework */; };
25DE600E173EB13C00422571 /* AFHTTPClient.m in Sources */ = {isa = PBXBuildFile; fileRef = 25DE5FFC173EB13C00422571 /* AFHTTPClient.m */; };
@ -105,6 +107,8 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
2580154C173EB6340026AA6E /* CoreServices.framework in Frameworks */,
2580154B173EB62E0026AA6E /* SystemConfiguration.framework in Frameworks */,
2544EC96173BFAA8004117E8 /* SenTestingKit.framework in Frameworks */,
2544EC97173BFAA8004117E8 /* Cocoa.framework in Frameworks */,
AC11A74923B64A3096ACADFC /* libPods-osx.a in Frameworks */,

View file

@ -14,7 +14,7 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3A73E04D2C0F4343AC6305CC"
BlueprintIdentifier = "7F80D170FBDE4B6CAFA74110"
BuildableName = "libPods-osx.a"
BlueprintName = "Pods-osx"
ReferencedContainer = "container:Pods/Pods.xcodeproj">
@ -35,7 +35,7 @@
BlueprintIdentifier = "2544EC94173BFAA8004117E8"
BuildableName = "OS X Tests.octest"
BlueprintName = "OS X Tests"
ReferencedContainer = "container:AFNetworking.xcodeproj">
ReferencedContainer = "container:AFNetworking Tests.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>