Fail faster in builds
If `make` fails, there's no point in doing anything else.
This commit is contained in:
parent
c10f56bea1
commit
59a1ef359d
@ -12,7 +12,7 @@ mkdir _build
|
||||
cd _build
|
||||
cmake .. $cmake_flags
|
||||
export LD_LIBRARY_PATH=$PWD/log_manager:$PWD/query_classifier
|
||||
make
|
||||
make || exit 1
|
||||
|
||||
if [[ "$cmake_flags" =~ "BUILD_TESTS" ]]
|
||||
then
|
||||
|
@ -10,7 +10,7 @@ cd ./MaxScale
|
||||
mkdir _build
|
||||
cd _build
|
||||
cmake .. $cmake_flags
|
||||
make
|
||||
make || exit 1
|
||||
|
||||
if [[ "$cmake_flags" =~ "BUILD_TESTS" ]]
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user