-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathPackage.swift
29 lines (28 loc) · 973 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
24
25
26
27
28
29
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "AssetCacheTool",
products: [
.executable(name: "asset-cache-tool", targets: ["AssetCacheTool"]),
.library(name: "AssetCacheLibrary", type: .static, targets: ["AssetCacheLibrary"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.1.4"),
.package(url: "https://github.com/stephencelis/SQLite.swift", .revision("a4c1d1dab2a89f3bdd6f2741f9fe7691f10cf8a5"))
],
targets: [
.target(
name: "AssetCacheTool",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.target(name: "AssetCacheLibrary")
]
),
.target(
name: "AssetCacheLibrary",
dependencies: [
.product(name: "SQLite", package: "SQLite.swift")
]
)
]
)