From 5680ff2592da5d42b233b138d455eb5e5d647e52 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sun, 31 Dec 2017 02:04:15 -0800 Subject: [PATCH] Update README.md: git clone -b master --single-branch --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 221abe94..f44f69ba 100644 --- a/README.md +++ b/README.md @@ -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