Skip to content

Support for async codegen and Sourcery 2.2.3 #359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def tests
end

target 'Mocky_Example_iOS' do
platform :ios, '9.0'
platform :ios, '12.0'
target 'Mocky_Tests_iOS' do
inherit! :search_paths
tests
Expand All @@ -21,15 +21,15 @@ target 'Mocky_Example_iOS_15' do
end

target 'Mocky_Example_tvOS' do
platform :tvos, '9.0'
platform :tvos, '12.0'
target 'Mocky_Tests_tvOS' do
inherit! :search_paths
tests
end
end

target 'Mocky_Example_macOS' do
platform :macos, '10.13'
platform :macos, '10.15'
target 'Mocky_Tests_macOS' do
inherit! :search_paths
tests
Expand Down
18 changes: 9 additions & 9 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PODS:
- Sourcery (1.8.0):
- Sourcery/CLI-Only (= 1.8.0)
- Sourcery/CLI-Only (1.8.0)
- SwiftyMocky (4.1.0):
- Sourcery (= 1.8.0)
- Sourcery (2.2.2):
- Sourcery/CLI-Only (= 2.2.2)
- Sourcery/CLI-Only (2.2.2)
- SwiftyMocky (4.2.0):
- Sourcery (= 2.2.2)

DEPENDENCIES:
- SwiftyMocky (from `./`)
Expand All @@ -17,9 +17,9 @@ EXTERNAL SOURCES:
:path: "./"

SPEC CHECKSUMS:
Sourcery: 6f5fe49b82b7e02e8c65560cbd52e1be67a1af2e
SwiftyMocky: 308ec8314ed9a2f72e5b16537ffff046fec8779f
Sourcery: 40610fe0d6edf71c7a2f984c96727fae99b94d08
SwiftyMocky: 510e70b5b52175369f4a69aaf7b2ba56aade92ef

PODFILE CHECKSUM: bdcefa827bbd4d82b3bb801ca8e42fd57d9afed5
PODFILE CHECKSUM: 024f8b7ce6c9eed2b70ca54b9fcecda8c6cb6381

COCOAPODS: 1.11.3
COCOAPODS: 1.14.3
472 changes: 250 additions & 222 deletions Sources/SwiftyMocky/Mock.swifttemplate

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions SwiftyMocky.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@ Library that uses metaprogramming technique to generate mocks based on sources,
s.author = { 'Przemysław Wośko' => 'przemyslaw.wosko@intive.com', 'Andrzej Michnia' => 'amichnia@gmail.com' }
s.source = { :git => 'https://github.com/MakeAWishFoundation/SwiftyMocky.git', :tag => s.version.to_s }

s.swift_versions = ['4.2', '5.0', '5.1', '5.1.2', '5.2', '5.3', '5.4', '5.5']
s.ios.deployment_target = '9.0'
s.tvos.deployment_target = '9.0'
s.macos.deployment_target = '10.10'
s.swift_versions = ['5.0', '5.1', '5.1.2', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8', '5.9']
s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'
s.macos.deployment_target = '10.15'
s.watchos.deployment_target = '4'
s.preserve_paths = '*'

s.source_files = 'Sources/{SwiftyMocky,Shared}/**/*.swift'
s.resources = '{Sources/SwiftyMocky/Mock.swifttemplate}'
s.frameworks = 'Foundation'
s.weak_framework = "XCTest"
s.dependency 'Sourcery', '1.8.0'
s.dependency 'Sourcery', '2.2.2'
s.pod_target_xcconfig = {
'APPLICATION_EXTENSION_API_ONLY' => 'YES',
'ENABLE_BITCODE' => 'NO',
Expand Down
59 changes: 44 additions & 15 deletions SwiftyMocky.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
136D1FD5B90F87009EDDF350 /* Pods_Mocky_Tests_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E649ECF55738052FFD6D124 /* Pods_Mocky_Tests_iOS.framework */; };
1D5310CA3DE7147ACC9E7E26 /* Pods_Mocky_Tests_tvOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64EF60CBE53D81700C87FB82 /* Pods_Mocky_Tests_tvOS.framework */; };
5CB0B098232DC176CC9CACD8 /* Pods_Mocky_Example_tvOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9C9BECF310A1D4EDD384137 /* Pods_Mocky_Example_tvOS.framework */; };
66087FEBDA538F4C138743F2 /* BuildFile in Frameworks */ = {isa = PBXBuildFile; };
66087FEBDA538F4C138743F2 /* (null) in Frameworks */ = {isa = PBXBuildFile; };
6921396CE20C5E332DE41D60 /* Pods_Mocky_Example_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E5568CBB5C310F46C201A252 /* Pods_Mocky_Example_iOS.framework */; };
6C3186ED22DF613C00746DCC /* ProtocolWithGenericConstraints.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C3186EC22DF613C00746DCC /* ProtocolWithGenericConstraints.swift */; };
6C3186EE22DF613C00746DCC /* ProtocolWithGenericConstraints.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C3186EC22DF613C00746DCC /* ProtocolWithGenericConstraints.swift */; };
Expand All @@ -22,7 +22,7 @@
6C3186F322DF67D800746DCC /* ProtocolWithGenericConstraintsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C3186F122DF67D800746DCC /* ProtocolWithGenericConstraintsTests.swift */; };
6C3186F422DF67D800746DCC /* ProtocolWithGenericConstraintsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C3186F122DF67D800746DCC /* ProtocolWithGenericConstraintsTests.swift */; };
7C10E4406673B3B3B7474E2C /* Pods_Mocky_Tests_macOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 94B5EFCCD4E35E7C80D1E560 /* Pods_Mocky_Tests_macOS.framework */; };
BB4F9E470E0BD27A959C97EB /* BuildFile in Frameworks */ = {isa = PBXBuildFile; };
BB4F9E470E0BD27A959C97EB /* (null) in Frameworks */ = {isa = PBXBuildFile; };
C81D094D22C0C59800A0427F /* CustomAssertionsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C81D094C22C0C59800A0427F /* CustomAssertionsTests.swift */; };
C81D094E22C0C59800A0427F /* CustomAssertionsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C81D094C22C0C59800A0427F /* CustomAssertionsTests.swift */; };
C81D094F22C0C59800A0427F /* CustomAssertionsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C81D094C22C0C59800A0427F /* CustomAssertionsTests.swift */; };
Expand Down Expand Up @@ -571,7 +571,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
66087FEBDA538F4C138743F2 /* BuildFile in Frameworks */,
66087FEBDA538F4C138743F2 /* (null) in Frameworks */,
6921396CE20C5E332DE41D60 /* Pods_Mocky_Example_iOS.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -580,7 +580,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
BB4F9E470E0BD27A959C97EB /* BuildFile in Frameworks */,
BB4F9E470E0BD27A959C97EB /* (null) in Frameworks */,
136D1FD5B90F87009EDDF350 /* Pods_Mocky_Tests_iOS.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -1444,17 +1444,18 @@
};
C8294EA92299345C0036BC94 = {
CreatedOnToolsVersion = 10.2.1;
LastSwiftMigration = 1530;
ProvisioningStyle = Automatic;
};
CC5B61971FCC16F7007FB209 = {
CreatedOnToolsVersion = 9.1;
DevelopmentTeam = YYAKJ5SR76;
DevelopmentTeam = LFW3TC8B25;
LastSwiftMigration = 1000;
ProvisioningStyle = Manual;
};
CC5B61A81FCC16F8007FB209 = {
CreatedOnToolsVersion = 9.1;
DevelopmentTeam = YYAKJ5SR76;
DevelopmentTeam = LFW3TC8B25;
LastSwiftMigration = 1000;
ProvisioningStyle = Automatic;
TestTargetID = CC5B61971FCC16F7007FB209;
Expand Down Expand Up @@ -1611,7 +1612,7 @@
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Mocky_Tests_macOS/Pods-Mocky_Tests_macOS-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/SwiftyMocky-macOS10.13/SwiftyMocky.framework",
"${BUILT_PRODUCTS_DIR}/SwiftyMocky-macOS10.15/SwiftyMocky.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
Expand Down Expand Up @@ -1683,7 +1684,7 @@
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Mocky_Tests_tvOS/Pods-Mocky_Tests_tvOS-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/SwiftyMocky-tvOS9.0/SwiftyMocky.framework",
"${BUILT_PRODUCTS_DIR}/SwiftyMocky-tvOS12.0/SwiftyMocky.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
Expand Down Expand Up @@ -1791,7 +1792,7 @@
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Mocky_Tests_iOS/Pods-Mocky_Tests_iOS-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/SwiftyMocky-iOS9.0/SwiftyMocky.framework",
"${BUILT_PRODUCTS_DIR}/SwiftyMocky-iOS12.0/SwiftyMocky.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
Expand Down Expand Up @@ -2272,6 +2273,7 @@
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 12.0;
};
name = Debug;
};
Expand All @@ -2298,6 +2300,7 @@
SDKROOT = appletvos;
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 12.0;
};
name = Release;
};
Expand Down Expand Up @@ -2325,6 +2328,7 @@
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
TARGETED_DEVICE_FAMILY = 3;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Mocky_Example_tvOS.app/Mocky_Example_tvOS";
TVOS_DEPLOYMENT_TARGET = 12.0;
};
name = Debug;
};
Expand All @@ -2350,6 +2354,7 @@
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
TARGETED_DEVICE_FAMILY = 3;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Mocky_Example_tvOS.app/Mocky_Example_tvOS";
TVOS_DEPLOYMENT_TARGET = 12.0;
};
name = Release;
};
Expand Down Expand Up @@ -2472,6 +2477,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = YYAKJ5SR76;
INFOPLIST_FILE = "$(SRCROOT)/SwiftyMocky-Example/iOS/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MODULE_NAME = "$(PRODUCT_NAME:c99extidentifier)";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
Expand All @@ -2489,6 +2495,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = YYAKJ5SR76;
INFOPLIST_FILE = "$(SRCROOT)/SwiftyMocky-Example/iOS/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MODULE_NAME = "$(PRODUCT_NAME:c99extidentifier)";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
Expand All @@ -2514,6 +2521,7 @@
"$(inherited)",
);
INFOPLIST_FILE = "SwiftyMocky-Tests/iOS/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\"";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
Expand All @@ -2535,6 +2543,7 @@
"$(inherited)",
);
INFOPLIST_FILE = "SwiftyMocky-Tests/iOS/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\"";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
Expand Down Expand Up @@ -2565,14 +2574,18 @@
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "SwiftyMocky-Runtime/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.15;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "-DMockyCustom";
PRODUCT_BUNDLE_IDENTIFIER = com.swiftymocky.SwiftyPrototype;
PRODUCT_NAME = SwiftyPrototype;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_VERSION = 5.0;
TVOS_DEPLOYMENT_TARGET = 12.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand All @@ -2598,12 +2611,16 @@
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "SwiftyMocky-Runtime/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.15;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "-DMockyCustom";
PRODUCT_BUNDLE_IDENTIFIER = com.swiftymocky.SwiftyPrototype;
PRODUCT_NAME = SwiftyPrototype;
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
TVOS_DEPLOYMENT_TARGET = 12.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand All @@ -2626,11 +2643,13 @@
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = YYAKJ5SR76;
"DEVELOPMENT_TEAM[sdk=macosx*]" = LFW3TC8B25;
ENABLE_HARDENED_RUNTIME = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "$(SRCROOT)/SwiftyMocky-Example/macOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.cocoapods.org.demo.Mocky-Example-macOS";
MACOSX_DEPLOYMENT_TARGET = 10.15;
PRODUCT_BUNDLE_IDENTIFIER = "com.cocoapods.org.demo.Mocky-Example-macOS1223";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = macosx;
Expand All @@ -2655,11 +2674,13 @@
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = YYAKJ5SR76;
"DEVELOPMENT_TEAM[sdk=macosx*]" = LFW3TC8B25;
ENABLE_HARDENED_RUNTIME = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "$(SRCROOT)/SwiftyMocky-Example/macOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.cocoapods.org.demo.Mocky-Example-macOS";
MACOSX_DEPLOYMENT_TARGET = 10.15;
PRODUCT_BUNDLE_IDENTIFIER = "com.cocoapods.org.demo.Mocky-Example-macOS1223";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = macosx;
Expand All @@ -2682,11 +2703,12 @@
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = YYAKJ5SR76;
DEVELOPMENT_TEAM = LFW3TC8B25;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "SwiftyMocky-Tests/macOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.cocoapods.org.demo.Mocky-Example-macOSTests";
MACOSX_DEPLOYMENT_TARGET = 10.15;
PRODUCT_BUNDLE_IDENTIFIER = "com.cocoapods.org.demo.Mocky-Example-macOSTests122";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
SUPPORTED_PLATFORMS = macosx;
Expand All @@ -2709,11 +2731,12 @@
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = YYAKJ5SR76;
DEVELOPMENT_TEAM = LFW3TC8B25;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "SwiftyMocky-Tests/macOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.cocoapods.org.demo.Mocky-Example-macOSTests";
MACOSX_DEPLOYMENT_TARGET = 10.15;
PRODUCT_BUNDLE_IDENTIFIER = "com.cocoapods.org.demo.Mocky-Example-macOSTests122";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
SUPPORTED_PLATFORMS = macosx;
Expand Down Expand Up @@ -2833,7 +2856,9 @@
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "$(SRCROOT)/SwiftyMocky-Runtime/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.15;
OTHER_LDFLAGS = (
"-weak_framework",
XCTest,
Expand All @@ -2844,6 +2869,7 @@
PRODUCT_NAME = SwiftyMocky;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
TVOS_DEPLOYMENT_TARGET = 12.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down Expand Up @@ -2876,7 +2902,9 @@
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "$(SRCROOT)/SwiftyMocky-Runtime/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.15;
OTHER_LDFLAGS = (
"-weak_framework",
XCTest,
Expand All @@ -2886,6 +2914,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.swiftymocky.SwiftyMocky;
PRODUCT_NAME = SwiftyMocky;
SKIP_INSTALL = YES;
TVOS_DEPLOYMENT_TARGET = 12.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down
11 changes: 6 additions & 5 deletions SwiftyPrototype.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ Library that uses metaprogramming technique to generate fakes/prototypes based o
s.author = { 'Przemysław Wośko' => 'przemyslaw.wosko@intive.com', 'Andrzej Michnia' => 'amichnia@gmail.com' }
s.source = { :git => 'https://github.com/MakeAWishFoundation/SwiftyMocky.git', :tag => s.version.to_s }

s.swift_versions = ['4.2', '5.0', '5.1', '5.1.2', '5.2', '5.3', '5.4', '5.5']
s.ios.deployment_target = '9.0'
s.tvos.deployment_target = '9.0'
s.macos.deployment_target = '10.10'
s.swift_versions = ['5.0', '5.1', '5.1.2', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8', '5.9']
s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'
s.macos.deployment_target = '10.15'
s.watchos.deployment_target = '4'
s.preserve_paths = '*'

s.source_files = 'Sources/{SwiftyPrototype,Shared}/**/*.swift'
s.resources = '{Sources/SwiftyPrototype/Prototype.swifttemplate}'
s.frameworks = 'Foundation'
s.dependency 'Sourcery', '~> 1.8.0'
s.dependency 'Sourcery', '~> 2.2.2'
end
Loading