-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPackage.swift
38 lines (35 loc) · 1.45 KB
/
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
30
31
32
33
34
35
36
37
38
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "Scripts",
platforms: [.macOS(.v12)],
products: [
.executable(name: "appicon", targets: ["appicon"]),
.executable(name: "appstore", targets: ["appstore"]),
.executable(name: "screenshots", targets: ["screenshots"]),
.executable(name: "xcodeproj", targets: ["xcodeproj"]),
],
dependencies: [
.package(url: "https://github.com/FullQueueDeveloper/Sh.git", from: "1.0.0"),
.package(url: "https://github.com/FullQueueDeveloper/ShGit.git", from: "1.0.0"),
.package(url: "https://github.com/FullQueueDeveloper/SwishXCAssets.git", from: "0.2.0"),
.package(url: "https://github.com/FullQueueDeveloper/SwishAppStore.git", from: "0.2.0"),
.package(url: "https://github.com/swhitty/SwiftDraw.git", from: "0.13.3"),
.package(url: "https://github.com/0xOpenBytes/o", from: "2.0.0")
],
targets: [
.executableTarget(name: "appicon",
dependencies: ["SwishXCAssets"]),
.executableTarget(name: "appstore",
dependencies: ["SwishAppStore"]),
.executableTarget(name: "xcodeproj",
dependencies: ["ProjectLib"]),
.target(name: "ProjectLib",
dependencies: ["Sh", "o"],
resources: [.copy("Resources")]),
.executableTarget(name: "screenshots",
dependencies: ["ScreenshotsLib"]),
.target(name: "ScreenshotsLib",
dependencies: ["Sh"]),
]
)