Skip to content

Commit

Permalink
support for swift package manager (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvk75 authored Oct 9, 2020
1 parent dab47f6 commit fe007d6
Show file tree
Hide file tree
Showing 14 changed files with 674 additions and 11 deletions.
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// swift-tools-version:5.3

import PackageDescription

let package = Package(
name: "ParallelSwift",
products: [
.library(
name: "ParallelSwift",
targets: ["ParallelSwift"]),
],
dependencies: [],
targets: [
.target(
name: "ParallelSwift",
dependencies: []),
.testTarget(
name: "ParallelSwiftTests",
dependencies: ["ParallelSwift"]),
]
)
4 changes: 2 additions & 2 deletions ParallelSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'ParallelSwift'
s.version = '1.4.1'
s.version = '1.5.0'
s.summary = 'Execute multiple methods in parallel with simple API.'


Expand All @@ -31,5 +31,5 @@ DESC
s.ios.deployment_target = '9.0'
s.swift_version = '5'

s.source_files = 'ParallelSwift/*'
s.source_files = 'Sources/**/*.swift'
end
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
4906B37A208FCA820077F369 = {
isa = PBXGroup;
children = (
4906B39A208FCA840077F369 /* ParallelTests */,
4906B39A208FCA840077F369 /* ParallelSwiftTests */,
4906B384208FCA820077F369 /* Products */,
);
sourceTree = "<group>";
Expand All @@ -45,14 +45,14 @@
name = Products;
sourceTree = "<group>";
};
4906B39A208FCA840077F369 /* ParallelTests */ = {
4906B39A208FCA840077F369 /* ParallelSwiftTests */ = {
isa = PBXGroup;
children = (
4906B39B208FCA840077F369 /* ParallelTestTests.swift */,
4906B3A6208FCAFD0077F369 /* ParallelSwift.swift */,
4906B39D208FCA840077F369 /* Info.plist */,
);
path = ParallelTests;
path = ParallelSwiftTests;
sourceTree = "<group>";
};
/* End PBXGroup section */
Expand Down Expand Up @@ -82,12 +82,12 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0930;
LastUpgradeCheck = 0930;
LastUpgradeCheck = 1200;
ORGANIZATIONNAME = "Jari Kalinainen";
TargetAttributes = {
4906B396208FCA840077F369 = {
CreatedOnToolsVersion = 9.3;
LastSwiftMigration = 1000;
LastSwiftMigration = 1200;
};
};
};
Expand Down Expand Up @@ -158,6 +158,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -183,7 +184,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -218,6 +219,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -237,7 +239,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
Expand All @@ -260,7 +262,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.klubitii.ParallelTestTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand All @@ -279,7 +281,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.klubitii.ParallelTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand Down
File renamed without changes.
22 changes: 22 additions & 0 deletions Tests/ParallelSwiftTests/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
Loading

0 comments on commit fe007d6

Please sign in to comment.