summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/build.sh31
-rwxr-xr-xtools/clean.sh17
2 files changed, 0 insertions, 48 deletions
diff --git a/tools/build.sh b/tools/build.sh
deleted file mode 100755
index 788e67a..0000000
--- a/tools/build.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-
-set -euf
-
-
-# absolute paths
-script="$(realpath $0)"
-tools="$(dirname "${script}")"
-src="$(dirname "${tools}")"
-build="${src}/build"
-
-# paths relative to the build or src folder
-pcb='pcb'
-schematic="${pcb}/iot-contact.kicad_sch"
-board="${pcb}/iot-contact.kicad_pcb"
-
-
-mkdir -pv "${build}/${pcb}"
-
-kicad-cli sch export pdf \
- --output "${build}/${schematic}.pdf" \
- --black-and-white \
- "${src}/${schematic}"
-
-kicad-cli pcb export pdf \
- --output "${build}/${board}.pdf" \
- --layers F.Cu,Edge.Cuts \
- --include-border-title \
- --black-and-white \
- "${src}/${board}"
diff --git a/tools/clean.sh b/tools/clean.sh
deleted file mode 100755
index c7a4c88..0000000
--- a/tools/clean.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/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"