Server-Root/libraries/build.sh

48 lines
959 B
Bash
Raw Normal View History

2018-08-08 16:08:56 -04:00
#!/bin/bash
2018-07-12 16:13:30 -04:00
2018-08-01 14:53:41 -04:00
mkdir -p \
boringssl/build \
2018-08-07 15:37:12 -04:00
DataPipes/build \
2018-08-01 14:53:41 -04:00
breakpad/build \
CXXTerminal/build \
ed25519/build \
event/build \
jsoncpp/build \
mysqlconnector/build \
opus/build \
opusfile/build \
spdlog/build \
StringVariable/build \
Thread-Pool/build \
tomcrypt/build \
tommath/build \
2018-08-08 10:21:32 -04:00
yaml-cpp/build \
2018-08-25 10:42:06 -04:00
protobuf/build \
jemalloc/build
2018-08-08 10:21:32 -04:00
2018-08-08 16:08:56 -04:00
function exec_script {
2018-08-08 10:21:32 -04:00
echo "Executing ${1}"
./${1}
if [ $? -ne 0 ]; then
echo "Failed to execute ${1}"
exit 1
fi
}
2018-08-08 16:38:56 -04:00
2018-08-08 10:21:32 -04:00
exec_script build_boringssl.sh
exec_script build_breakpad.sh
exec_script build_cxxterminal.sh
exec_script build_datapipes.sh
exec_script build_ed25519.sh
exec_script build_event.sh
exec_script build_jsoncpp.sh
exec_script build_mysqlconnector.sh
exec_script build_opus.sh
exec_script build_protobuf.sh
exec_script build_spdlog.sh
exec_script build_stringvariable.sh
exec_script build_threadpool.sh
exec_script build_tom.sh
exec_script build_yaml.sh
2018-08-25 10:42:06 -04:00
exec_script build_jemalloc.sh