[build scripts] exit codes in macOS file watcher and TouchBar support build scripts

GitOrigin-RevId: 1c456f25eac7800eed11cbbcd308f09128bb76f2
This commit is contained in:
Roman Shevchenko
2020-11-19 22:48:35 +01:00
committed by intellij-monorepo-bot
parent 43a5187ea6
commit f8e1e3b0a0
2 changed files with 14 additions and 10 deletions

View File

@@ -1,11 +1,13 @@
#!/bin/sh
rm -rf build
mkdir build
cd build
cd build || exit 1
cmake -DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
cmake -DCMAKE_BUILD_TYPE=Release .. || exit 2
make VERBOSE=1 || exit 3
if [ "$1" = "install" ]; then
make install/strip VERBOSE=1
fi
make install/strip VERBOSE=1 || exit 4
fi

View File

@@ -1,11 +1,13 @@
#!/bin/sh
rm -rf build
mkdir build
cd build
cd build || exit 1
cmake -DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
cmake -DCMAKE_BUILD_TYPE=Release .. || exit 2
make VERBOSE=1 || exit 3
if [ "$1" = "install" ]; then
make install/strip VERBOSE=1
fi
make install/strip VERBOSE=1 || exit 4
fi