Skip to content

Commit 84a5bc7

Browse files
bjtitusaciidgh
authored andcommitted
A few minor spelling errors and slight rewording
1 parent 70805c8 commit 84a5bc7

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Documentation/Development.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $ ../swift/utils/build-script -R --llbuild --swiftpm --xctest --foundation --lib
2222
```
2323

2424
This will build compiler and friends in `build/` directory. It takes about ~1
25-
hour for the inital build process. However, it is not really required to build
25+
hour for the initial build process. However, it is not really required to build
2626
the entire compiler in order to work on the Package Manager. A faster option is
2727
using a [snapshot](https://swift.org/download/#releases) from swift.org.
2828

@@ -129,8 +129,8 @@ following commands:
129129

130130
```sh
131131
$ Utilities/docker-utils build # will build an image with the latest swift snapshot
132-
$ Utilities/docker-utils boostrap # will bootstrap SwiftPM on the linux container
133-
$ Utilities/docker-utils run bash # to run an interactive bash sheel in the container
132+
$ Utilities/docker-utils bootstrap # will bootstrap SwiftPM on the linux container
133+
$ Utilities/docker-utils run bash # to run an interactive bash shell in the container
134134
$ Utilities/docker-utils swift-build # to run swift-build in the container
135135
$ Utilities/docker-utils swift-test # to run swift-test in the container
136136
$ Utilities/docker-utils swift-run # to run swift-run in the container

Documentation/Usage.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ let package = Package(
167167
```
168168

169169
The `pkgConfig` parameter helps SwiftPM in figuring out the include and library
170-
search paths for the system library. Note: If you don't want to use pkgConfig
171-
paramater you can pass the path to directory containing library using
172-
commandline when building your app:
170+
search paths for the system library. Note: If you don't want to use the `pkgConfig`
171+
parameter you can pass the path of a directory containing the library using the
172+
`-L` flag in commandline when building your app:
173173

174174
example$ swift build -Xlinker -L/usr/local/lib/
175175

@@ -472,7 +472,7 @@ the exact sources in this directory to build, regardless of its state, git
472472
repository status, tags, or the tag desired by dependency resolution. In other
473473
words, this will _just build_ against the sources that are present. When an
474474
editable package is present, it will be used to satisfy all instances of that
475-
package in the depencency graph. It is possible to edit all, some, or none of
475+
package in the dependency graph. It is possible to edit all, some, or none of
476476
the packages in a dependency graph, without restriction.
477477

478478
Editable packages are best used to do experimentation with dependency code or
@@ -487,11 +487,11 @@ put the dependency Foo in `Packages/` directory.
487487
$ swift package edit Foo --revision 969c6a9
488488

489489
This is similar to previous version except that the Package Manager will leave
490-
the dependency at a detched HEAD on the specified revision.
490+
the dependency at a detached HEAD on the specified revision.
491491

492492
Note: It is necessary to provide either a branch or revision option. The
493493
rationale here is that checking out the currently resolved version would leave
494-
the repository on a detached HEAD, which is confusing. Explict options makes
494+
the repository on a detached HEAD, which is confusing. Explicit options makes
495495
the action predictable for user.
496496

497497
Once a package is in an editable state, you can navigate to the directory

0 commit comments

Comments
 (0)