File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ // swift-tools-version: 6.0
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: " ATCommonTools " ,
8+ platforms: [
9+ . iOS( . v14) ,
10+ . macOS( . v13) ,
11+ . tvOS( . v14) ,
12+ . visionOS( . v1) ,
13+ . watchOS( . v9)
14+ ] ,
15+ products: [
16+ // Products define the executables and libraries a package produces, making them visible to other packages.
17+ . library(
18+ name: " ATCommonTools " ,
19+ targets: [ " ATCommonTools " ] ) ,
20+ . library(
21+ name: " ATCommonWeb " ,
22+ targets: [ " ATCommonWeb " ] )
23+ ] ,
24+ dependencies: [
25+ . package ( url: " https://github.com/ATProtoKit/MultiformatsKit.git " , . upToNextMajor( from: " 0.0.1 " ) )
26+ ] ,
27+ targets: [
28+ // Targets are the basic building blocks of a package, defining a module or a test suite.
29+ // Targets can depend on other targets in this package and products from dependencies.
30+ . target(
31+ name: " ATCommonTools " ,
32+ dependencies: [
33+ " ATCommonWeb " ,
34+ . product( name: " MultiformatsKit " , package : " multiformatskit " )
35+ ]
36+ ) ,
37+ . target(
38+ name: " ATCommonWeb " ,
39+ dependencies: [
40+ . product( name: " MultiformatsKit " , package : " multiformatskit " )
41+ ]
42+ ) ,
43+ . testTarget(
44+ name: " ATCommonToolsTests " ,
45+ dependencies: [ " ATCommonTools " , " ATCommonWeb " ]
46+ ) ,
47+ ]
48+ )
49+
You can’t perform that action at this time.
0 commit comments