From a62ace8d5b25b084d5e3563197f0adf415db01cb Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 18 Feb 2021 14:22:46 +0000 Subject: [PATCH] codestyle: Remove tabdamage.txt in OK case Avoid leaving cruft in the srcdir. --- ci/codestyle.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/codestyle.sh b/ci/codestyle.sh index ade23b69..05574c83 100755 --- a/ci/codestyle.sh +++ b/ci/codestyle.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Tests that validate structure of the source code; +# can be run without building it. set -euo pipefail echo -n "Checking for tabs..." @@ -8,6 +10,7 @@ if test -s tabdamage.txt; then cat tabdamage.txt exit 1 fi +rm -v tabdamage.txt echo "ok" echo -n "checking rustfmt..."