summaryrefslogtreecommitdiff
path: root/pcb/print-bom.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pcb/print-bom.sh')
-rwxr-xr-xpcb/print-bom.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/pcb/print-bom.sh b/pcb/print-bom.sh
deleted file mode 100755
index 9bd8007..0000000
--- a/pcb/print-bom.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-
-set -euf
-
-
-SCRIPT_PATH="$0"
-PCB_PATH="$(dirname "${SCRIPT_PATH}")"
-INPUT_PATH="${PCB_PATH}/soundbox.kicad_sch"
-OUTPUT_PATH="$(mktemp -t --suffix '.csv' kicad-bom-XXXX)"
-
-FIELDS='Reference,Description,Value'
-
-
-kicad-cli sch export bom \
- -o "$OUTPUT_PATH" \
- --fields "$FIELDS" \
- "$INPUT_PATH"
-
-cat "$OUTPUT_PATH"
-rm "$OUTPUT_PATH"