Skip to content

Port contents of Documentation/libSwiftPM.md to DocC #8725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Organize, manage, and edit Swift packages.

## Overview

The Swift Package Manager leets you share your code as a package, depend on and use other share packages, as well as build, test, document, and run your code.
The Swift Package Manager lets you share your code as a package, depend on and use other share packages, as well as build, test, document, and run your code.

## Topics

Expand All @@ -22,6 +22,7 @@ The Swift Package Manager leets you share your code as a package, depend on and
- <doc:AddingDependencies>
- <doc:ResolvingPackageVersions>
- <doc:CreatingCLanguageTargets>
- <doc:SwiftPMAsALibrary>

<!-- ### Command Plugins -->
<!-- placeholder for content about swift package manager extensions - command plugins -->
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# SwiftPM as a library

Include Swift Package Manager as a dependency in your Swift package.

## Overview

> Warning: **The libSwiftPM API is _unstable_ and may change at any time.**

SwiftPM has a library based architecture and the top-level library product is
called `libSwiftPM`. Other packages can add SwiftPM as a package dependency and
create powerful custom build tools on top of `libSwiftPM`.

A subset of `libSwiftPM` that includes only the data model (without SwiftPM's
build system) is available as `libSwiftPMDataModel`. Any one client should
depend on one or the other, but not both.