codestyle: Remove tabdamage.txt in OK case
Avoid leaving cruft in the srcdir.
This commit is contained in:
parent
1421dcbc14
commit
a62ace8d5b
@ -1,4 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# Tests that validate structure of the source code;
|
||||||
|
# can be run without building it.
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
echo -n "Checking for tabs..."
|
echo -n "Checking for tabs..."
|
||||||
@ -8,6 +10,7 @@ if test -s tabdamage.txt; then
|
|||||||
cat tabdamage.txt
|
cat tabdamage.txt
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
rm -v tabdamage.txt
|
||||||
echo "ok"
|
echo "ok"
|
||||||
|
|
||||||
echo -n "checking rustfmt..."
|
echo -n "checking rustfmt..."
|
||||||
|
Loading…
Reference in New Issue
Block a user