diff options
author | xengineering <me@xengineering.eu> | 2024-06-05 19:48:43 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-06-05 19:48:43 +0200 |
commit | 869792d4b9030e0153ae882fd2e4cb6ecab7e159 (patch) | |
tree | f36e5a364c8bfe41298fcaaa5f95434efaf431a7 /tools/clean.sh | |
parent | e6fc87d14aa2fcf30812b6b7bccd35dd3026631e (diff) | |
download | iot-contact-869792d4b9030e0153ae882fd2e4cb6ecab7e159.tar iot-contact-869792d4b9030e0153ae882fd2e4cb6ecab7e159.tar.zst iot-contact-869792d4b9030e0153ae882fd2e4cb6ecab7e159.zip |
tools: Add clean.sh
This allows to conveniently remove files which are not tracked in
version control.
Diffstat (limited to 'tools/clean.sh')
-rwxr-xr-x | tools/clean.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/clean.sh b/tools/clean.sh new file mode 100755 index 0000000..c7a4c88 --- /dev/null +++ b/tools/clean.sh @@ -0,0 +1,17 @@ +#!/bin/sh + + +set -euf + + +# absolute paths +script="$(realpath $0)" +tools="$(dirname "${script}")" +src="$(dirname "${tools}")" +build="${src}/build" +pcb="${src}/pcb" + + +rm -rf "$build" +rm -f "${pcb}/fp-info-cache" +rm -f "${pcb}/iot-contact.kicad_prl" |