osquery-1/tools/build.sh
2014-11-19 16:33:33 -08:00

19 lines
232 B
Bash
Executable File

#!/usr/bin/env bash
set -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $SCRIPT_DIR/lib.sh
threads THREADS
cd $SCRIPT_DIR/../
# Builds dependencies
make deps
# Build osquery
make -j$THREADS
make test