Skip to content

Commit 9abe851

Browse files
committed
comment out unsafe flags
1 parent b86bf7c commit 9abe851

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

Package.swift

+10-8
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@ let moduleTargets = modules.map {
2626
Target.target(
2727
name: $0.name,
2828
dependencies: $0.dependencies.map { Target.Dependency.target(name: $0) },
29-
path: "Sources/\($0.name)",
30-
swiftSettings: [
31-
.unsafeFlags([
32-
"-emit-symbol-graph",
33-
"-emit-symbol-graph-dir",
34-
".build/symbol-graphs/\($0.name)",
35-
])
36-
]
29+
path: "Sources/\($0.name)"
30+
// These are required for documentation generation, but SwiftPM will not allow
31+
// other user to depend on us, so they are commented out.
32+
// swiftSettings: [
33+
// .unsafeFlags([
34+
// "-emit-symbol-graph",
35+
// "-emit-symbol-graph-dir",
36+
// ".build/symbol-graphs/\($0.name)",
37+
// ])
38+
// ]
3739
)
3840
}
3941

0 commit comments

Comments
 (0)