Skip to content

Commit 5e714c6

Browse files
authored
Clarify that package manifests must be located at the root of the repository in the Conceptual Overview section of the SwiftPM page (#756)
* Make it explicit that the manifest must be at the root of the package’s repository. * Revert "Make it explicit that the manifest must be at the root of the package’s repository." This reverts commit a2a726a. * Moved the additional information down to a more appropriate place. * Tweaked copy. * Moved the paragraph down by one.
1 parent f6eac3d commit 5e714c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

documentation/package-manager/_basic-usage.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ A library is a target that builds a module which can be imported by other packag
6464
By default, a library module exposes all of the `public` types and methods
6565
declared in source code located in the `Sources/<target-name>` directory.
6666
67+
When creating a library package intended for use as a dependency in other projects,
68+
the `Package.swift` manifest must reside at the top level/root of the
69+
package directory structure.
70+
6771
Run `swift build` to start the Swift build process.
6872
If everything worked correctly,
6973
it will compile the Swift module for `PlayingCard`.

0 commit comments

Comments
 (0)