aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-03-14 17:13:32 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-03-14 17:13:32 +0100
commita70a2f3d479d92743fa8012dc488d121bcdf5e0a (patch)
tree75b4307cabb3143d9e2db92a77ecae25d81a4be5 /build.sh
parentde248fb9b21f2a1c3df65fd4fce830742d570bb1 (diff)
downloadgarage-a70a2f3d479d92743fa8012dc488d121bcdf5e0a.tar.gz
garage-a70a2f3d479d92743fa8012dc488d121bcdf5e0a.zip
add missing error management
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index fa1a7146..158c7f1b 100755
--- a/build.sh
+++ b/build.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+set -euxo pipefail
+
echo "-- check --"
nix-shell --attr rust --run "cargo fmt -- --check"