-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
23 lines (22 loc) · 972 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// swift-tools-version:5.9
import PackageDescription
// Define the package with a name and a list of products and dependencies
let package = Package(
name: "FileSugar", // The name of the package
platforms: [.iOS(.v17), .macOS(.v14)], // Platforms the package supports
products: [
.library( // Define a library product
name: "FileSugar", // The name of the library product
targets: ["FileSugar"]) // The targets that make up the product
],
dependencies: [ // The list of dependencies for the package
],
targets: [ // The list of targets for the package
.target( // Define a target
name: "FileSugar", // The name of the target
dependencies: []), // The dependencies of the target
.testTarget( // Define a test target
name: "FileSugarTests", // The name of the test target
dependencies: ["FileSugar"]) // The dependencies of the test target
]
)