Add "build.sh" helper script

Simplifies compiling encfs and is also used by test.sh
This commit is contained in:
Jakob Unterwurzacher 2015-11-12 19:13:54 +01:00
parent a424a2155b
commit fe4b2a6345

15
build.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
set -eu
if [ ! -d build ]
then
mkdir build
cd build
cmake ..
else
cd build
fi
make