File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ // swift-tools-version:5.9
2+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+ import PackageDescription
5+
6+ let package = Package (
7+ name: " Segment " ,
8+ platforms: [
9+ . macOS( " 10.15 " ) ,
10+ . iOS( " 13.0 " ) ,
11+ . tvOS( " 11.0 " ) ,
12+ . watchOS( " 7.1 " ) ,
13+ . visionOS( " 1.0 " )
14+ ] ,
15+ products: [
16+ // Products define the executables and libraries a package produces, and make them visible to other packages.
17+ . library(
18+ name: " Segment " ,
19+ targets: [ " Segment " ] ) ,
20+ ] ,
21+ dependencies: [
22+ // Dependencies declare other packages that this package depends on.
23+ // .package(url: /* package url */, from: "1.0.0"),
24+ . package ( url: " https://github.com/segmentio/sovran-swift.git " , from: " 1.1.0 " )
25+ ] ,
26+ targets: [
27+ // Targets are the basic building blocks of a package. A target can define a module or a test suite.
28+ // Targets can depend on other targets in this package, and on products in packages this package depends on.
29+ . target(
30+ name: " Segment " ,
31+ dependencies: [
32+ . product( name: " Sovran " , package : " sovran-swift " )
33+ ] ) ,
34+ . testTarget(
35+ name: " Segment-Tests " ,
36+ dependencies: [ " Segment " ] ) ,
37+ ]
38+ )
You can’t perform that action at this time.
0 commit comments