Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bbb70fd

Browse files
committed
build: reflow text in Package.swift
Reflow some text to make the definition more compact.
1 parent 02ff594 commit bbb70fd

File tree

1 file changed

+12
-44
lines changed

1 file changed

+12
-44
lines changed

‎Package.swift‎

Lines changed: 12 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -49,77 +49,45 @@ let SwiftWin32 = Package(
4949
.product(name: "SwiftCOM", package: "SwiftCOM"),
5050
],
5151
path: "Sources/SwiftWin32",
52-
exclude: ExcludedPaths + [
53-
"CMakeLists.txt",
54-
],
52+
exclude: ExcludedPaths + ["CMakeLists.txt"],
5553
linkerSettings: [
5654
.linkedLibrary("User32"),
5755
.linkedLibrary("ComCtl32"),
5856
]
5957
),
6058
.target(
6159
name: "SwiftWin32UI",
62-
dependencies: [
63-
"SwiftWin32",
64-
],
60+
dependencies: ["SwiftWin32"],
6561
path: "Sources/SwiftWin32UI",
66-
exclude: [
67-
"CMakeLists.txt",
68-
]
62+
exclude: ["CMakeLists.txt"]
6963
),
7064
.executableTarget(
7165
name: "Calculator",
72-
dependencies: [
73-
"SwiftWin32",
74-
],
66+
dependencies: ["SwiftWin32"],
7567
path: "Examples/Calculator",
7668
exclude: [
7769
"CMakeLists.txt",
7870
"Calculator.exe.manifest",
7971
"Info.plist",
8072
],
81-
swiftSettings: [
82-
.unsafeFlags([
83-
"-parse-as-library",
84-
]),
85-
]
73+
swiftSettings: [.unsafeFlags(["-parse-as-library"])]
8674
),
8775
.executableTarget(
8876
name: "UICatalog",
89-
dependencies: [
90-
"SwiftWin32",
91-
],
77+
dependencies: ["SwiftWin32"],
9278
path: "Examples/UICatalog",
9379
exclude: [
9480
"CMakeLists.txt",
9581
"Info.plist",
9682
"UICatalog.exe.manifest",
9783
],
98-
resources: [
99-
.copy("Assets/CoffeeCup.jpg"),
100-
],
101-
swiftSettings: [
102-
.unsafeFlags([
103-
"-parse-as-library",
104-
]),
105-
]
106-
),
107-
.target(
108-
name: "TestUtilities",
109-
path: "Tests/Utilities"
110-
),
111-
.testTarget(
112-
name: "AutoLayoutTests",
113-
dependencies: ["SwiftWin32"]
114-
),
115-
.testTarget(
116-
name: "CoreGraphicsTests",
117-
dependencies: ["SwiftWin32"]
118-
),
119-
.testTarget(
120-
name: "SupportTests",
121-
dependencies: ["SwiftWin32"]
84+
resources: [.copy("Assets/CoffeeCup.jpg")],
85+
swiftSettings: [.unsafeFlags(["-parse-as-library"])]
12286
),
87+
.target(name: "TestUtilities", path: "Tests/Utilities"),
88+
.testTarget(name: "AutoLayoutTests", dependencies: ["SwiftWin32"]),
89+
.testTarget(name: "CoreGraphicsTests", dependencies: ["SwiftWin32"]),
90+
.testTarget(name: "SupportTests", dependencies: ["SwiftWin32"]),
12391
.testTarget(
12492
name: "UICoreTests",
12593
dependencies: ["SwiftWin32", "TestUtilities"]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /