Skip to content

Commit 8f7cf6c

Browse files
committed
Merge pull request #51 from BrandonMathis/chore/docs
Update some Readme strucutre and styles
2 parents b796305 + adcbd7e commit 8f7cf6c

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
@@ -83,6 +83,7 @@ uploading SSH keys to GitHub):
8383
cd swift
8484
./utils/update-checkout --clone-with-ssh
8585

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

9394
export PATH=/Applications/CMake.app/Contents/bin:$PATH
9495

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

100-
git clone https://github.com/ninja-build/ninja.git
102+
##### Build from source
103+
**Via https**
101104

102-
or
105+
git clone https://github.com/ninja-build/ninja.git && cd ninja
106+
git checkout release
107+
cat README
103108

104-
git clone [email protected]:ninja-build/ninja.git
109+
**Via ssh**
105110

106-
You can also install CMake and Ninja on OS X using a third-party
107-
packaging tool like [Homebrew](http://brew.sh)
111+
git clone [email protected]:ninja-build/ninja.git && cd ninja
112+
git checkout release
113+
cat README
114+
115+
#### Install via third-party packaging tool (OSX only)
116+
117+
**[Homebrew](http://brew.sh/)**
108118

109119
brew install cmake ninja
110120

111-
…or [MacPorts](https://macports.org).
121+
**[MacPorts](https://macports.org)**
112122

113123
sudo port install cmake ninja
114124

0 commit comments

Comments
 (0)