tree-sitter/script/configure.sh

20 lines
456 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e
git submodule update --init --recursive
externals/gyp/gyp tree_sitter.gyp --depth . --format=make $@
2014-04-16 21:00:27 -07:00
if [ "$1" == "-h" ]; then
cat <<-HELP
Variables:
-D USE_BOOST_REGEX - Use boost regex library for tests, not the built-in regex
library. This is useful when linking against an older
version of the standard library. libboost_regex must be
installed.
HELP
fi