-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject.swift
More file actions
47 lines (46 loc) · 1.53 KB
/
Copy pathProject.swift
File metadata and controls
47 lines (46 loc) · 1.53 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
import ProjectDescription
import ProjectDescriptionHelpers
let project = Project(
name: "DevLogWidgetExtension",
options: .options(
disableBundleAccessors: true,
disableSynthesizedResourceAccessors: true
),
settings: .devlogProject(versionXcconfigPath: "../../Application/Shared/Version.xcconfig"),
targets: [
.target(
name: "DevLogWidgetExtension",
destinations: .iOS,
product: .appExtension,
bundleId: "opfic.DevLog.DevLogWidget",
infoPlist: .file(path: "Resource/Info.plist"),
sources: [
.glob(
"**/*.swift",
excluding: [
"Derived/**",
"Project.swift",
]
),
],
resources: [
"Resource/Assets.xcassets",
"Resource/Localizable.xcstrings",
],
entitlements: .file(path: "Resource/DevLogWidget.entitlements"),
scripts: [
DevLogScripts.swiftLint(sourcePath: "."),
],
dependencies: [
.project(target: "DevLogWidgetCore", path: "../DevLogWidgetCore"),
],
settings: .devlog(
versionXcconfigPath: "../../Application/Shared/Version.xcconfig",
base: [
"CODE_SIGN_STYLE": "Automatic",
"ENABLE_USER_SCRIPT_SANDBOXING": "NO",
]
)
),
]
)