Skip to content

README syntax highlighting #4

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 4 commits into from
Dec 3, 2015
Merged
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
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ The package manager is bundled with the [downloads available at swift.org](https

If you want to verify you already have the package manager installed, enter the following in a terminal:

swift build --help
```sh
swift build --help
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove this blank line?

```
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this line one line up


If you get usage output, it is installed.

Expand All @@ -44,9 +46,11 @@ For development purposes, the package manager can be built in two ways:

2. To build against a [downloaded](https://swift.org/download/) Swift package, enter the following in a terminal:

git clone [email protected]:apple/swift-package-manager.git swiftpm
cd swiftpm
./Utilities/bootstrap --swiftc path/to/swiftc --sbt path/to/swift-build-tool
```sh
git clone [email protected]:apple/swift-package-manager.git swiftpm
cd swiftpm
./Utilities/bootstrap --swiftc path/to/swiftc --sbt path/to/swift-build-tool
```

Either way, it is recommended that you develop against the latest version of Swift
to ensure compatibility with new releases.
Expand Down Expand Up @@ -136,7 +140,9 @@ simple example could be:

If you then run the following command in the directory `foo`:

$ swift build
```sh
swift build
```
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty line below this line

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird that none of the other shell commands include a $ prompt. I'd get rid of it here to be consistent

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense, i'll update it.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, nice 👌


Swift will build a single executable called `foo`.

Expand Down