encfs/vendor/github.com/muflihun/easyloggingpp/samples/STL/build_all.sh
Valient Gough 5f0806c5cc Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master"
git-vendor-name: easylogging
git-vendor-dir: vendor/github.com/muflihun/easyloggingpp
git-vendor-repository: https://github.com/muflihun/easyloggingpp
git-vendor-ref: master
2017-08-05 23:23:41 -07:00

16 lines
294 B
Bash
Executable File

# Builds all files into bin/
[ -d "bin" ] || mkdir "bin"
rm -rf bin/*
EXCLUDE_LIST="logrotate.cpp"
find . -maxdepth 1 -type f -name '*.cpp' -not -name $EXCLUDE_LIST -exec sh compile.sh {} $1 \;
echo "Completed!"
files=$(ls -l bin/)
if [ "$files" = "total 0" ];then
exit 1
else
exit 0
fi