Skip to content

Commit a1bb0d3

Browse files
authored
enable spm (#7)
* enable spm * add DS_Store to gitignore
1 parent 673e421 commit a1bb0d3

File tree

17 files changed

+476
-283
lines changed

17 files changed

+476
-283
lines changed

.DS_Store

6 KB
Binary file not shown.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#
33
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
44

5+
.DS_Store
6+
57
## Build generated
68
build/
79
DerivedData/

.travis.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@ osx_image: xcode9.2
22
language: objective-c
33
xcode_project: GroupWork.xcodeproj
44

5-
env:
6-
- UDID="7A5E86EB-E32C-475F-8FF5-10AA330C1D34", IOS_DEVICE="iPhone 7 Plus (11.1)"
7-
- UDID="15E2107D-EAD2-4E1F-8BC3-59E58E750FB1", IOS_DEVICE="iPhone 7 (10.0)"
8-
- UDID="9AB3D590-C748-4E17-8E35-67B298E973F7", IOS_DEVICE="iPhone 6 Plus (9.0)"
9-
- UDID="80BE80F4-C243-43F0-BD95-5CB085DAD04F", IOS_DEVICE="iPhone 6 (8.1)"
10-
115
script:
12-
- open -a "simulator" --args -CurrentDeviceUDID $UDID
13-
- xcodebuild clean test -project GroupWork.xcodeproj -scheme GroupWork -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,id=$UDID" CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -quiet
6+
- swift build
7+
- swift test
8+

GroupWork.podspec

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
Pod::Spec.new do |s|
22
s.name = "GroupWork"
3-
s.version = "0.0.3"
3+
s.version = "0.0.4"
44
s.summary = "Swift module that helps with running multiple, concurrent, asynchronous tasks in a clean way."
55
s.description = "Swift module that helps with running multiple, concurrent, asynchronous tasks in a clean way. Better description inc."
66
s.homepage = "https://github.com/quanvo87/GroupWork"
77
s.license = { :type => "MIT", :file => "LICENSE" }
88
s.author = { "Quan Vo" => "qvo1987@gmail.com",
99
"Wilson Ding" => "hello@wilsonding.com" }
1010
s.platform = :ios, "8.0"
11-
s.source = { :git => "https://github.com/quanvo87/GroupWork.git", :tag => "0.0.3" }
12-
s.source_files = "GroupWork", "GroupWork/**/*.{h,m,swift}"
13-
s.exclude_files = "Classes/Exclude"
11+
s.source = { :git => "https://github.com/quanvo87/GroupWork.git", :tag => s.version }
12+
s.source_files = "Sources/GroupWork/*.swift"
1413
end
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plist version="1.0">
3+
<dict>
4+
<key>CFBundleDevelopmentRegion</key>
5+
<string>en</string>
6+
<key>CFBundleExecutable</key>
7+
<string>$(EXECUTABLE_NAME)</string>
8+
<key>CFBundleIdentifier</key>
9+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
10+
<key>CFBundleInfoDictionaryVersion</key>
11+
<string>6.0</string>
12+
<key>CFBundleName</key>
13+
<string>$(PRODUCT_NAME)</string>
14+
<key>CFBundlePackageType</key>
15+
<string>BNDL</string>
16+
<key>CFBundleShortVersionString</key>
17+
<string>1.0</string>
18+
<key>CFBundleSignature</key>
19+
<string>????</string>
20+
<key>CFBundleVersion</key>
21+
<string>$(CURRENT_PROJECT_VERSION)</string>
22+
<key>NSPrincipalClass</key>
23+
<string></string>
24+
</dict>
25+
</plist>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plist version="1.0">
3+
<dict>
4+
<key>CFBundleDevelopmentRegion</key>
5+
<string>en</string>
6+
<key>CFBundleExecutable</key>
7+
<string>$(EXECUTABLE_NAME)</string>
8+
<key>CFBundleIdentifier</key>
9+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
10+
<key>CFBundleInfoDictionaryVersion</key>
11+
<string>6.0</string>
12+
<key>CFBundleName</key>
13+
<string>$(PRODUCT_NAME)</string>
14+
<key>CFBundlePackageType</key>
15+
<string>FMWK</string>
16+
<key>CFBundleShortVersionString</key>
17+
<string>1.0</string>
18+
<key>CFBundleSignature</key>
19+
<string>????</string>
20+
<key>CFBundleVersion</key>
21+
<string>$(CURRENT_PROJECT_VERSION)</string>
22+
<key>NSPrincipalClass</key>
23+
<string></string>
24+
</dict>
25+
</plist>

0 commit comments

Comments
 (0)