aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-03-30 14:03:22 +0530
committerAkshay Nair <phenax5@gmail.com>2026-03-30 14:03:22 +0530
commit7b183c5d3735dddaf5352e04a4e1eccedaa52c64 (patch)
treef28af00c48545aad8d4862cc745656a246dee5db /justfile
parent94a5a0027adaa69e87686950efb23a37c36ad241 (diff)
downloadchiral-keyboard-7b183c5d3735dddaf5352e04a4e1eccedaa52c64.tar.gz
chiral-keyboard-7b183c5d3735dddaf5352e04a4e1eccedaa52c64.zip
Rename directories + remove old board
Diffstat (limited to 'justfile')
-rw-r--r--justfile26
1 files changed, 13 insertions, 13 deletions
diff --git a/justfile b/justfile
index fde5d1e..570d59d 100644
--- a/justfile
+++ b/justfile
@@ -1,3 +1,6 @@
+hw:
+ kicad ./hardware/chiral.kicad_pro
+
gerbers: clean gen-gerbers gen-drill zip-gerbers
svg: svg-schematic svg-pcb
@@ -6,31 +9,28 @@ svg: svg-schematic svg-pcb
kicad-cli pcb export gerbers \
-l B.Cu,B.Mask,B.Silkscreen,B.Paste,F.Cu,F.Mask,F.Silkscreen,F.Paste,Edge.Cuts \
--precision 6 --no-x2 \
- --output ./pcb/gerber/chiral-keyboard \
- ./pcb/chiral.kicad_pcb
+ --output ./hardware/gerber/chiral-keyboard \
+ ./hardware/chiral.kicad_pcb
@gen-drill:
kicad-cli pcb export drill \
--format excellon --drill-origin absolute \
--excellon-zeros-format decimal --excellon-oval-format alternate --excellon-units mm --excellon-separate-th \
--generate-map --map-format gerberx2 \
- --output ./pcb/gerber/chiral-keyboard \
- ./pcb/chiral.kicad_pcb
-
-pcb:
- kicad ./pcb/chiral.kicad_pro
+ --output ./hardware/gerber/chiral-keyboard \
+ ./hardware/chiral.kicad_pcb
-pcb-drc:
- kicad-cli pcb drc --output --all-track-errors --schematic-parity --format=json --severity-all ./pcb/chiral.kicad_pcb
+drc:
+ kicad-cli pcb drc --output --all-track-errors --schematic-parity --format=json --severity-all ./hardware/chiral.kicad_pcb
@clean:
- rm -rf ./pcb/chiral-keyboard.zip ./pcb/gerber
+ rm -rf ./hardware/chiral-keyboard.zip ./hardware/gerber
zip-gerbers:
- cd ./pcb/gerber && zip -r ../chiral-keyboard.zip ./chiral-keyboard
+ cd ./hardware/gerber && zip -r ../chiral-keyboard.zip ./chiral-keyboard
svg-schematic:
- kicad-cli sch export svg -t arcana ./pcb/chiral.kicad_sch
+ kicad-cli sch export svg -t arcana ./hardware/chiral.kicad_sch
svg-pcb:
- kicad-cli pcb export svg --layers '*' --mode-single -o pcb.svg ./pcb/chiral.kicad_pcb
+ kicad-cli pcb export svg --layers '*' --mode-single -o pcb.svg ./hardware/chiral.kicad_pcb