mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 23:43:26 +01:00
21 lines
311 B
Bash
Executable File
21 lines
311 B
Bash
Executable File
#!/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
|
|
cmake .. $*
|
|
cd ..
|
|
fi
|
|
|
|
make -j2 -C build
|
|
make test -C build
|
|
make integration -C build
|
|
|
|
echo
|
|
echo 'Everything looks good, you can install via "make install -C build".'
|
|
|