19 lines
423 B
Bash
Executable file
19 lines
423 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
git submodule update --init --recursive
|
|
externals/gyp/gyp project.gyp --depth . --format=make $@
|
|
externals/gyp/gyp tests.gyp --depth . --format=make $@
|
|
|
|
if [ "$1" == "-h" ]; then
|
|
cat <<-HELP
|
|
|
|
Variables:
|
|
|
|
-D USE_LIBPROFILER=false
|
|
Don't link libprofiler into the test binaries. This flag is needed on systems
|
|
where libprofiler (from the google-perftools package) is not installed.
|
|
|
|
HELP
|
|
fi
|