From 71a4053e8cf281cbfd0d6be22ed0ec5e0c1ad051 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Wed, 31 Jul 2019 21:32:13 -0700 Subject: [PATCH] Remove _cleanup now that builds don't run in sequence --- .compile_binaries | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.compile_binaries b/.compile_binaries index b7878e7..d015411 100755 --- a/.compile_binaries +++ b/.compile_binaries @@ -1,9 +1,5 @@ #!/bin/bash -_cleanup(){ - rm -rf dist shellcheck || true -} - build_linux() { # Linux Docker image name="$DOCKER_BASE" @@ -30,7 +26,6 @@ build_linux() { sed -e '/DELETE-MARKER/,$d' Dockerfile > Dockerfile.alpine docker build -f Dockerfile.alpine -t "$name:current" . docker run "$name:current" sh -c 'shellcheck --version' - _cleanup } build_aarch64() { @@ -50,7 +45,6 @@ build_armv6hf() { do cp "shellcheck" "deploy/shellcheck-$tag.linux-armv6hf"; done - _cleanup } build_windows() { @@ -60,7 +54,6 @@ build_windows() { do cp "dist/build/ShellCheck/shellcheck.exe" "deploy/shellcheck-$tag.exe"; done - _cleanup } build_osx() { @@ -77,6 +70,5 @@ build_osx() { do cp "dist/build/shellcheck/shellcheck" "deploy/shellcheck-$tag.darwin-x86_64"; done - _cleanup }