diff --git a/build b/build index 4864b31..acf28aa 100755 --- a/build +++ b/build @@ -1,5 +1,5 @@ #!/usr/bin/env bash -lsc -bc --no-header -o static/ web-src/script.ls && \ -npx sass web-src/style.scss static/style.css && \ -rustfmt src/*.rs && \ +lsc -bc --no-header -o static/ web-src/script.ls || exit 1 +npx sass web-src/style.scss static/style.css || exit 2 +rustfmt src/*.rs || exit 3 cargo $(basename $0) "${@:1}"