#!/bin/sh source scripts/query_dependencies.sh query_dep 'CMake' query_dep 'C++17' query_dep ' if response == 'y' then cd builds git clone --depth=1 --recursive https://github.com/MaskRay/ccls cd ccls cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/path/to/clang+llvm-xxx cmake --build Release fi