aboutsummaryrefslogtreecommitdiff
path: root/clean.sh
diff options
context:
space:
mode:
authorNathan Ringo <nathan@remexre.com>2024-05-05 17:20:00 -0500
committerNathan Ringo <nathan@remexre.com>2024-05-05 17:20:00 -0500
commit0874c7f1852145c3ae62f1e28dc10c0c89d78b45 (patch)
tree0717d0293a78510ac62ea7f463da4ef6d54229cb /clean.sh
parent2ec6d7d09e2cd6c08686aae9427b46a217972675 (diff)
Not yet working UART...
Diffstat (limited to 'clean.sh')
-rwxr-xr-xclean.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/clean.sh b/clean.sh
deleted file mode 100755
index 68769e6..0000000
--- a/clean.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-set -eu
-
-cd "$(git rev-parse --show-toplevel)"
-
-if [ "$(git status --porcelain=v1 --ignored -z | grep -z '^!!' | wc -c)" = 0 ]; then
- exit
-fi
-
-git status --porcelain=v1 --ignored -z \
-| grep -z '^!!' \
-| xargs -0 awk 'BEGIN { for(i = 1; i < ARGC; i++) printf "%s%c", substr(ARGV[i], 4), 0; }' \
-| xargs -0 rm -r