encfs/build.sh

21 lines
311 B
Bash
Raw Normal View History

#!/bin/bash -eu
# Make sure we are in the directory this script is in.
cd "$(dirname "$0")"
if [[ ! -d build ]]
then
mkdir build
cd build
2017-08-08 06:38:10 +02:00
cmake .. $*
cd ..
fi
make -j2 -C build
2017-08-08 17:50:44 +02:00
make test -C build
make integration -C build
echo
echo 'Everything looks good, you can install via "make install -C build".'