Update README.md: git clone -b master --single-branch

This commit is contained in:
Fangrui Song 2017-12-31 02:04:15 -08:00
parent 146e857555
commit 5680ff2592

View File

@ -43,8 +43,9 @@ Building cquery is simple. The external dependencies are few:
```bash
$ clang --version # if missing, sudo apt-get install clang
$ git clone https://github.com/jacobdufault/cquery --recursive
$ git clone https://github.com/jacobdufault/cquery --single-branch
$ cd cquery
$ git submodule update --init
$ ./waf configure --prefix ~/.local/stow/cquery # --prefix is optional, it specifies install directory
$ ./waf build # -g -O3, built build/release/bin/cquery
$ ./waf install # optional, copies the executable to $PREFIX/bin/cquery