mirror of
https://github.com/mas-cli/mas
synced 2024-11-27 05:50:20 +00:00
53 lines
2.7 KiB
Text
53 lines
2.7 KiB
Text
|
Pod::Spec.new do |s|
|
||
|
s.name = "Nimble"
|
||
|
s.version = "7.1.3"
|
||
|
s.summary = "A Matcher Framework for Swift and Objective-C"
|
||
|
s.description = <<-DESC
|
||
|
Use Nimble to express the expected outcomes of Swift or Objective-C expressions. Inspired by Cedar.
|
||
|
DESC
|
||
|
s.homepage = "https://github.com/Quick/Nimble"
|
||
|
s.license = { :type => "Apache 2.0", :file => "LICENSE" }
|
||
|
s.author = "Quick Contributors"
|
||
|
s.ios.deployment_target = "8.0"
|
||
|
s.osx.deployment_target = "10.10"
|
||
|
s.tvos.deployment_target = "9.0"
|
||
|
s.source = { :git => "https://github.com/Quick/Nimble.git",
|
||
|
:tag => "v#{s.version}" }
|
||
|
|
||
|
s.source_files = [
|
||
|
"Sources/**/*.{swift,h,m,c}",
|
||
|
"Carthage/Checkouts/CwlCatchException/Sources/**/*.{swift,h,m,c}",
|
||
|
"Carthage/Checkouts/CwlPreconditionTesting/Sources/**/*.{swift,h,m,c}",
|
||
|
]
|
||
|
|
||
|
s.osx.exclude_files = [
|
||
|
"Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstructionPosix.swift",
|
||
|
"Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/Posix/CwlPreconditionTesting_POSIX.h",
|
||
|
]
|
||
|
s.ios.exclude_files = [
|
||
|
"Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstructionPosix.swift",
|
||
|
"Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/Posix/CwlPreconditionTesting_POSIX.h",
|
||
|
]
|
||
|
s.tvos.exclude_files = [
|
||
|
"Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/Mach/CwlPreconditionTesting.h",
|
||
|
"Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift",
|
||
|
"Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift",
|
||
|
"Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift",
|
||
|
"Carthage/Checkouts/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift",
|
||
|
"Carthage/Checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/CwlCatchException.m",
|
||
|
"Carthage/Checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h",
|
||
|
]
|
||
|
|
||
|
s.exclude_files = "Sources/Nimble/Adapters/NonObjectiveC/*.swift"
|
||
|
s.weak_framework = "XCTest"
|
||
|
s.requires_arc = true
|
||
|
s.compiler_flags = '-DPRODUCT_NAME=Nimble/Nimble'
|
||
|
s.pod_target_xcconfig = {
|
||
|
'APPLICATION_EXTENSION_API_ONLY' => 'YES',
|
||
|
'ENABLE_BITCODE' => 'NO',
|
||
|
'OTHER_LDFLAGS' => '$(inherited) -weak-lswiftXCTest -Xlinker -no_application_extension',
|
||
|
'OTHER_SWIFT_FLAGS' => '$(inherited) -suppress-warnings',
|
||
|
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks"',
|
||
|
}
|
||
|
end
|