This commit is contained in:
2025-08-21 18:58:27 -04:00
parent 592301d1f8
commit a59730f4d4
6 changed files with 37 additions and 17 deletions

20
tools/Cleanup Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/sh
# Usage: ./Cleanup
fatal() {
echo "$@"
echo fail.
exit 1
}
if [ ! -d "./tools" ]; then
echo "error: must be run from parent directory"
exit 1
fi
sh ./tools/format || fatal Could not run './tools/format'
rm -rf .cache || fatal Could not run 'rm -rf .cache'
make dist-clean || fatal Could not run 'make dist-clean'
echo done.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/sh
# Usage ./format