forked from Hummdrumm/Localizable-Generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject.swift
More file actions
34 lines (30 loc) · 1.48 KB
/
Copy pathProject.swift
File metadata and controls
34 lines (30 loc) · 1.48 KB
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
import ProjectDescription
let target = Target(name: "GenerateLocalizables",
platform: .macOS,
product: .commandLineTool,
bundleId: "com.jem.GenerateLocalizables",
infoPlist: .default,
sources: [
"Sources/**"
],
dependencies: [
.package(product: "ANSITerminal"),
.package(product: "ArgumentParser"),
.package(product: "SwiftFigletKit"),
.package(product: "Files")
]
)
let scheme = Scheme(name: "GenerateLocalizables", shared: true, buildAction: .buildAction(targets: ["GenerateLocalizables"]), runAction: .runAction(configuration: .debug, executable: "GenerateLocalizables"))
let prj = Project(name: "GenerateLocalizables",
organizationName: "Jose Escabias",
packages: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0"),
.package(url: "https://github.com/JohnSundell/Files", from: "4.0.0"),
.package(url: "https://github.com/pakLebah/ANSITerminal", from: "0.0.3"),
.package(url: "https://github.com/dfreniche/SwiftFiglet", .upToNextMajor(from: "0.2.1"))
],
targets: [
target
],
schemes: [scheme]
)