Repository navigation
Expand file tree
/
Copy pathProject.swift
More file actions
70 lines (69 loc) · 2.91 KB
/
Copy pathProject.swift
File metadata and controls
70 lines (69 loc) · 2.91 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import ProjectDescription
let project = Project(
name: "TypeAliasFormatter",
organizationName: "OpenSwiftUI Project",
options: .options(automaticSchemesOptions: .disabled),
settings: .settings(base: [
"SWIFT_VERSION": "6.0",
"MACOSX_DEPLOYMENT_TARGET": "14.0",
"CODE_SIGN_IDENTITY": "-",
"CODE_SIGN_STYLE": "Automatic",
]),
targets: [
.target(
name: "TypeAliasFormatterApp",
destinations: .macOS,
product: .app,
productName: "TypeAliasFormatter",
bundleId: "org.openswiftuiproject.openswiftui.typealiasformatter",
deploymentTargets: .macOS("14.0"),
infoPlist: .extendingDefault(with: [
"CFBundleDisplayName": "TypeAlias Formatter",
"CFBundleShortVersionString": "$(MARKETING_VERSION)",
"CFBundleVersion": "$(CURRENT_PROJECT_VERSION)",
"LSApplicationCategoryType": "public.app-category.developer-tools",
"NSHumanReadableCopyright": "Copyright © 2026 OpenSwiftUI Project",
]),
buildableFolders: ["App/Sources", "App/Resources"],
dependencies: [.external(name: "TypeAliasFormatterCore")],
settings: .settings(base: [
"MARKETING_VERSION": "0.2.1",
"CURRENT_PROJECT_VERSION": "1",
"ASSETCATALOG_COMPILER_APPICON_NAME": "AppIcon",
"ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME": "AccentColor",
"ENABLE_APP_SANDBOX": "YES",
"ENABLE_USER_SELECTED_FILES": "readwrite",
"ENABLE_HARDENED_RUNTIME": "YES",
])
),
.target(
name: "TypeAliasFormatterCLI",
destinations: .macOS,
product: .commandLineTool,
productName: "typealias-formatter",
bundleId: "org.openswiftuiproject.openswiftui.typealiasformatter.cli",
deploymentTargets: .macOS("14.0"),
infoPlist: nil,
buildableFolders: ["CLI/Sources"],
dependencies: [
.external(name: "TypeAliasFormatterCore"),
.external(name: "ArgumentParser"),
],
settings: .settings(base: ["PRODUCT_MODULE_NAME": "TypeAliasFormatterCLI"])
),
],
schemes: [
.scheme(
name: "TypeAliasFormatterApp",
buildAction: .buildAction(targets: ["TypeAliasFormatterApp"]),
runAction: .runAction(configuration: .debug, executable: "TypeAliasFormatterApp")
),
.scheme(
name: "TypeAliasFormatterCLI",
buildAction: .buildAction(targets: ["TypeAliasFormatterCLI"]),
runAction: .runAction(configuration: .debug, executable: "TypeAliasFormatterCLI")
),
],
additionalFiles: ["README.md", "Package.swift", "CLI/Tests", "Licenses", "Scripts"],
resourceSynthesizers: []
)