File tree 2 files changed +32
-23
lines changed
2 files changed +32
-23
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "object" : {
3
+ "pins" : [
4
+ {
5
+ "package" : " Reachability" ,
6
+ "repositoryURL" : " https://github.com/lucas34/Reachability.swift.git" ,
7
+ "state" : {
8
+ "branch" : null ,
9
+ "revision" : " 31b72208fcc563e3213fbd260b9300b2c0b8609f" ,
10
+ "version" : " 5.0.0"
11
+ }
12
+ }
13
+ ]
14
+ },
15
+ "version" : 1
16
+ }
Original file line number Diff line number Diff line change 1
1
// swift-tools-version:4.0
2
- // The swift-tools-version declares the minimum version of Swift required to build this package.
3
-
4
2
import PackageDescription
5
3
6
4
let package = Package (
7
- name: " SwiftQueue " ,
8
- products: [
9
- // Products define the executables and libraries produced by a package, and make them visible to other packages.
10
- . library(
11
- name: " SwiftQueue " ,
12
- targets: [ " SwiftQueue " ] )
13
- ] ,
14
- dependencies: [
15
- // Dependencies declare other packages that this package depends on.
16
- // .package(url: /* package url */, from: "1.0.0"),
17
- ] ,
18
- 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 in packages which this package depends on.
21
- . target(
22
- name: " SwiftQueue " ,
23
- dependencies: [ ] ) ,
24
- . testTarget(
25
- name: " SwiftQueueTests " ,
26
- dependencies: [ " SwiftQueue " ] )
27
- ]
5
+ name: " SwiftQueue " ,
6
+ products: [
7
+ . library( name: " SwiftQueue " , targets: [ " SwiftQueue " ] ) ,
8
+ ] ,
9
+ dependencies: [
10
+ . package ( url: " https://github.com/lucas34/Reachability.swift.git " , . upToNextMajor( from: " 5.0.0 " ) ) ,
11
+ ] ,
12
+ targets: [
13
+ . target(
14
+ name: " SwiftQueue " ,
15
+ dependencies: [ " Reachability " ] ) ,
16
+ . testTarget(
17
+ name: " SwiftQueueTests " ,
18
+ dependencies: [ " SwiftQueue " ] ) ,
19
+ ] ,
20
+ swiftLanguageVersions: [ 3 , 4 ]
28
21
)
You can’t perform that action at this time.
0 commit comments