File tree Expand file tree Collapse file tree 5 files changed +60
-7
lines changed
Expand file tree Collapse file tree 5 files changed +60
-7
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ pull_request :
4+ jobs :
5+ build :
6+ runs-on : ${{ matrix.xcode == '11' && 'macos-10.15' || 'macos-11' }}
7+ strategy :
8+ matrix :
9+ platform :
10+ - macOS
11+ - tvOS
12+ - iOS
13+ - watchOS
14+ xcode :
15+ - 11
16+ - 12
17+ - 13
18+ steps :
19+ - uses : actions/checkout@v2
20+ - run : rm -rf PMKStoreKit.xcodeproj
21+ - uses : mxcl/xcodebuild@v1
22+ with :
23+ xcode : ${{ matrix.xcode }}
24+ platform : ${{ matrix.platform }}
25+ action : build
Original file line number Diff line number Diff line change 22* .xcscmblueprint
33/Carthage
44/.build
5- .DS_Store
5+ .DS_Store
6+ /Package.resolved
Original file line number Diff line number Diff line change 1- // swift-tools-version:4 .0
1+ // swift-tools-version:5 .0
22import PackageDescription
33
44let name = " PMKStoreKit "
55
66let pkg = Package ( name: name)
7+ pkg. platforms = [
8+ . watchOS( " 6.2 " )
9+ ]
710pkg. products = [
8- . library( name: name, targets: [ name] ) ,
11+ . library( name: name, targets: [ name] ) ,
912]
10- pkg. swiftLanguageVersions = [ 3 , 4 ]
13+ pkg. swiftLanguageVersions = [ . v4 , . v5 ]
1114pkg. dependencies = [
12- . package ( url: " https://github.com/mxcl/PromiseKit.git " , from: " 6.0.0 " )
15+ . package ( url: " https://github.com/mxcl/PromiseKit.git " , from: " 6.0.0 " )
1316]
1417
1518let target : Target = . target( name: name)
1619target. path = " Sources "
1720target. exclude = [
1821 " SKRequest+AnyPromise.h " ,
19- " SKRequest+AnyPromise.m " ,
20- " \( name) .h " ,
22+ " SKRequest+AnyPromise.m " ,
23+ " \( name) .h " ,
2124]
2225target. dependencies = [ " PromiseKit " ]
2326
Original file line number Diff line number Diff line change 1+ // swift-tools-version:4.0
2+ import PackageDescription
3+
4+ let name = " PMKStoreKit "
5+
6+ let pkg = Package ( name: name)
7+ pkg. products = [
8+ . library( name: name, targets: [ name] ) ,
9+ ]
10+ pkg. swiftLanguageVersions = [ 3 , 4 ]
11+ pkg. dependencies = [
12+ . package ( url: " https://github.com/mxcl/PromiseKit.git " , from: " 6.0.0 " )
13+ ]
14+
15+ let target : Target = . target( name: name)
16+ target. path = " Sources "
17+ target. exclude = [
18+ " SKRequest+AnyPromise.h " ,
19+ " SKRequest+AnyPromise.m " ,
20+ " \( name) .h " ,
21+ ]
22+ target. dependencies = [ " PromiseKit " ]
23+
24+ pkg. targets = [ target]
File renamed without changes.
You can’t perform that action at this time.
0 commit comments