Skip to content

Commit 3fc5611

Browse files
committed
Documentation formatting adjustments
1 parent 4294987 commit 3fc5611

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

Diff for: README.md

+16-6
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ uploading SSH keys to GitHub):
7676
cd swift
7777
./utils/update-checkout --clone-with-ssh
7878

79+
#### CMake
7980
[CMake](http://cmake.org) is the core infrastructure used to configure builds of
8081
Swift and its companion projects; at least version 2.8.12.2 is required. Your
8182
favorite Linux distribution likely already has a CMake package you can install.
@@ -85,23 +86,32 @@ command line tools to your `PATH`:
8586

8687
export PATH=/Applications/CMake.app/Contents/bin:$PATH
8788

89+
#### Ninja
8890
[Ninja](https://ninja-build.org) is the current recommended build system
8991
for building Swift and is the default configuration generated by CMake. If
9092
you're on OS X or don't install it as part of your Linux distribution, clone
9193
it next to the other projects and it will be bootstrapped automatically:
9294

93-
git clone https://github.com/ninja-build/ninja.git
95+
##### Build from source
96+
**Via https**
9497

95-
or
98+
git clone https://github.com/ninja-build/ninja.git && cd ninja
99+
git checkout release
100+
cat README
96101

97-
git clone [email protected]:ninja-build/ninja.git
102+
**Via ssh**
98103

99-
You can also install CMake and Ninja on OS X using a third-party
100-
packaging tool like [Homebrew](http://brew.sh)
104+
git clone [email protected]:ninja-build/ninja.git && cd ninja
105+
git checkout release
106+
cat README
107+
108+
#### Install via third-party packaging tool (OSX only)
109+
110+
**[Homebrew](http://brew.sh/)**
101111

102112
brew install cmake ninja
103113

104-
…or [MacPorts](https://macports.org).
114+
**[MacPorts](https://macports.org)**
105115

106116
sudo port install cmake ninja
107117

0 commit comments

Comments
 (0)