From 87c2e9ae09188b7dcd79d7dd236e968c091cab24 Mon Sep 17 00:00:00 2001 From: Murad Karammaev Date: Wed, 16 Nov 2022 11:09:38 +0300 Subject: [PATCH] fail early in script/build.sh if error occurs --- script/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script/build.sh b/script/build.sh index 4c21e31..30374ad 100755 --- a/script/build.sh +++ b/script/build.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -eou pipefail + cmake -S . -B ./build_clang_libcxx \ -GNinja \ -DCMAKE_BUILD_TYPE=Release \