mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-21 23:25:07 +00:00
Update README.md: git clone -b master --single-branch
This commit is contained in:
parent
146e857555
commit
5680ff2592
@ -43,8 +43,9 @@ Building cquery is simple. The external dependencies are few:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ clang --version # if missing, sudo apt-get install clang
|
$ 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
|
$ cd cquery
|
||||||
|
$ git submodule update --init
|
||||||
$ ./waf configure --prefix ~/.local/stow/cquery # --prefix is optional, it specifies install directory
|
$ ./waf configure --prefix ~/.local/stow/cquery # --prefix is optional, it specifies install directory
|
||||||
$ ./waf build # -g -O3, built build/release/bin/cquery
|
$ ./waf build # -g -O3, built build/release/bin/cquery
|
||||||
$ ./waf install # optional, copies the executable to $PREFIX/bin/cquery
|
$ ./waf install # optional, copies the executable to $PREFIX/bin/cquery
|
||||||
|
Loading…
Reference in New Issue
Block a user