From 809691f43ca6f7920e2ac3d5bc5e0645d4745d60 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 16 Jan 2021 11:59:32 -0500 Subject: Stop shipping if lint fails --- Biz/Bild/ShellHook.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Biz') diff --git a/Biz/Bild/ShellHook.sh b/Biz/Bild/ShellHook.sh index b71d894..85694ec 100644 --- a/Biz/Bild/ShellHook.sh +++ b/Biz/Bild/ShellHook.sh @@ -64,7 +64,6 @@ function push() { # TODO: convert to haskell function ship() { - lint stuff=(${@}) if [[ ${#stuff[@]} -eq 0 ]] then @@ -75,11 +74,12 @@ function ship() { # Hero/Prod.nix # disabled bc herocomcis.app domain is broken ) fi - bild --test ${stuff[@]} && \ - for thing in ${stuff[@]} - do - push $thing - done + lint \ + && bild --test ${stuff[@]} \ + && for thing in ${stuff[@]} + do + push $thing + done } function run-sentry() { -- cgit v1.2.3