From 869792d4b9030e0153ae882fd2e4cb6ecab7e159 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 5 Jun 2024 19:48:43 +0200 Subject: tools: Add clean.sh This allows to conveniently remove files which are not tracked in version control. --- tools/clean.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 tools/clean.sh (limited to 'tools/clean.sh') 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" -- cgit v1.2.3-70-g09d2