You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-15Lines changed: 11 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# Swift Package Manager Project
2
2
3
-
> **PLEASE NOTE** The Swift Package Manager is still in early design and development — we are aiming to have it stable and ready for use with Swift 3but currently all details are subject to change and many important features are yet to be implemented. Additionally, it is important to note that the Swift language syntax is not stable, so packages you write will (likely) break as Swift evolves.
3
+
> **PLEASE NOTE** The Swift Package Manager is still in early design and development — we are aiming to have it stable and ready for use with Swift 3but currently all details are subject to change and many important features are yet to be implemented. Additionally, it is important to note that the Swift language syntax is not stable, so packages you write will (likely) break as Swift evolves.
4
4
5
5
The Swift Package Manager is a tool for managing distribution of source code, aimed at making it easy to share your code and reuse others’ code. The tool directly addresses the challenges of compiling and linking Swift packages, managing dependencies, versioning, and supporting flexible distribution and collaboration models.
6
6
7
-
We’ve designed the system to make it really easy to share packages on services like GitHub, but packages are also great for private personal development, sharing code within a team, or at any other granularity.
7
+
We’ve designed the system to make it easy to share packages on services like GitHub, but packages are also great for private personal development, sharing code within a team, or at any other granularity.
8
8
9
9
---
10
10
@@ -52,10 +52,6 @@ The package manager is bundled with the [**Trunk Development** Snapshots availab
@@ -73,7 +69,7 @@ The following indicates you have not installed a snapshot successfully:
73
69
74
70
### Managing Swift Environments
75
71
76
-
The `TOOLCHAINS` environment variable on OS X can be used to control which `swift` is instantiated:
72
+
The `TOOLCHAINS` environment variable on OS X can be used to control which `swift` is executed:
77
73
78
74
```sh
79
75
$ xcrun --find swift
@@ -91,13 +87,13 @@ On OS X `/usr/bin/swift` is just a stub that forwards invocations to the active
91
87
92
88
To use a specific toolchain you can set `TOOLCHAINS` to the `CFBundleIdentifier` in an `.xctoolchain`’s Info.plist.
93
89
94
-
This feature requires Xcode 7.3.
90
+
This feature requires Xcode 7.3 or later.
95
91
96
92
---
97
93
98
94
## Development
99
95
100
-
The Package Manager is itself a Swift Package and thus can be used to build itself. However we recommend instead one of the three following options:
96
+
The Package Manager project is itself a Swift Package and can be used to build itself. If you are interested in contributing to the package manager, however, we recommend one of the three following options:
101
97
102
98
1. Using the [Swift project `build-script`](https://github.com/apple/swift/blob/master/README.md):
103
99
@@ -120,19 +116,19 @@ Note that either of the latter two options may not be compatible with the `maste
120
116
121
117
### Choosing a Swift Version
122
118
123
-
The `SWIFT_EXEC` environment variable specifies the `swiftc` executable path used by `swift package`. If it is not set, SwiftPM will try to locate it:
119
+
The `SWIFT_EXEC` environment variable specifies the `swiftc` executable path used by `swift package`. If it is not set, the package manager will try to locate it:
124
120
125
-
1. In `swift-package`'s parent directory.
126
-
2.(on OS X) by calling `xcrun --find swiftc`
127
-
3.in PATH
121
+
1. In `swift-package`'s parent directory.
122
+
2.On OS X, by calling `xcrun --find swiftc`.
123
+
3.By searching the PATH.
128
124
129
125
---
130
126
131
127
## Documentation
132
128
133
-
For extensive documentation on using Swift Package Manager, creating packages, and more, see [Documentation/README](Documentation/README.md).
129
+
For extensive documentation on using Swift Package Manager, creating packages, and more, see [Documentation](Documentation).
134
130
135
-
For additional documentation on developing Swift Package Manager, see [Documentation/Internals](Documentation/Internals).
131
+
For additional documentation on developing the Swift Package Manager itself, see [Documentation/Internals](Documentation/Internals).
0 commit comments