File tree Expand file tree Collapse file tree 1 file changed +10
-20
lines changed
Expand file tree Collapse file tree 1 file changed +10
-20
lines changed Original file line number Diff line number Diff line change 1- // swift-tools-version:5.0
1+ // swift-tools-version:5.1
22// The swift-tools-version declares the minimum version of Swift required to build this package.
33
44import PackageDescription
55
66let package = Package (
77 name: " Then " ,
8- products : [
9- // Products define the executables and libraries produced by a package, and make them visible to other packages.
10- . library (
11- name : " Then " ,
12- targets : [ " Then " ] )
8+ platforms : [
9+ . iOS ( . v8 ) ,
10+ . macOS ( . v10_10 ) ,
11+ . tvOS ( . v9 ) ,
12+ . watchOS ( . v6 )
1313 ] ,
14- dependencies: [
15- // Dependencies declare other packages that this package depends on.
16- // .package(url: /* package url */, from: "1.0.0"),
14+ products: [
15+ . library( name: " Then " , targets: [ " Then " ] )
1716 ] ,
1817 targets: [
19- // Targets are the basic building blocks of a package. A target can define a module or a test suite.
20- // Targets can depend on other targets in this package, and on products
21- // in packages which this package depends on.
22- . target(
23- name: " Then " ,
24- dependencies: [ ] ,
25- path: " Source " ) ,
26- . testTarget(
27- name: " ThenTests " ,
28- dependencies: [ " Then " ] ,
29- path: " ThenTests " )
18+ . target( name: " Then " , path: " Source " ) ,
19+ . testTarget( name: " ThenTests " , dependencies: [ " Then " ] , path: " ThenTests " )
3020 ]
3121)
You can’t perform that action at this time.
0 commit comments