Skip to content

Commit b6fc37b

Browse files
authored
exclude README in docs sources to resolve build warning (#8764)
exclude README in docs sources to resolve build warning ### Motivation: resolves the build warning when building the package manger ### Modifications: add the README housed in the PackageManagerDocs to the exclude list ### Result: Builds without warning: ```bash swift build --target PackageManagerDocs ```
1 parent 985b56f commit b6fc37b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,8 @@ let package = Package(
466466
// MARK: Documentation
467467

468468
.target(
469-
name: "PackageManagerDocs"
469+
name: "PackageManagerDocs",
470+
exclude: ["README.md"],
470471
),
471472

472473
// MARK: Package Manager Functionality

0 commit comments

Comments
 (0)