xtool.git
Publicgit clone https://git.maproj.org/xtool.gitxtool.git / Examples / DemoSimple / Package.swift
Package.swift28 lines · 520 BRaw
| 1 | // swift-tools-version: 6.0 |
| 2 | |
| 3 | import PackageDescription |
| 4 | |
| 5 | let package = Package( |
| 6 | name: "DemoSimple", |
| 7 | platforms: [ |
| 8 | .iOS(.v17), |
| 9 | .macOS(.v14), |
| 10 | ], |
| 11 | products: [ |
| 12 | .library( |
| 13 | name: "DemoSimple", |
| 14 | targets: ["DemoSimple"] |
| 15 | ), |
| 16 | ], |
| 17 | dependencies: [ |
| 18 | .package(path: "../ExampleSupport"), |
| 19 | ], |
| 20 | targets: [ |
| 21 | .target( |
| 22 | name: "DemoSimple", |
| 23 | dependencies: [ |
| 24 | "ExampleSupport", |
| 25 | ] |
| 26 | ), |
| 27 | ] |
| 28 | ) |