Skip to content

Commit ce7c8cf

Browse files
committed
Merge pull request #4 from hkareem2222/master
README syntax highlighting
2 parents b3ec799 + fa57705 commit ce7c8cf

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ The package manager is bundled with the [downloads available at swift.org](https
2727

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

30-
swift build --help
30+
```sh
31+
swift build --help
32+
```
3133

3234
If you get usage output, it is installed.
3335

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

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

47-
git clone [email protected]:apple/swift-package-manager.git swiftpm
48-
cd swiftpm
49-
./Utilities/bootstrap --swiftc path/to/swiftc --sbt path/to/swift-build-tool
49+
```sh
50+
git clone [email protected]:apple/swift-package-manager.git swiftpm
51+
cd swiftpm
52+
./Utilities/bootstrap --swiftc path/to/swiftc --sbt path/to/swift-build-tool
53+
```
5054

5155
Either way, it is recommended that you develop against the latest version of Swift
5256
to ensure compatibility with new releases.
@@ -136,7 +140,9 @@ simple example could be:
136140
137141
If you then run the following command in the directory `foo`:
138142

139-
$ swift build
143+
```sh
144+
swift build
145+
```
140146

141147
Swift will build a single executable called `foo`.
142148

0 commit comments

Comments
 (0)