From 8e5bb14df92121380e7478731392bf7dfb9f6fae Mon Sep 17 00:00:00 2001 From: nabellows <40371260+nabellows@users.noreply.github.com> Date: Wed, 3 Jan 2024 17:48:14 -0800 Subject: [PATCH] Update build.sh to fail if build fails Build issues such as https://github.com/nvim-pack/nvim-spectre/issues/185 are not reflected in the exit status so it silently fails when building. Updating this to fail allows plugin managers like lazy.nvim to identify the failed build --- build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sh b/build.sh index c2d24e8..5e35caa 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + cd spectre_oxi cargo build --release