Skip to content

Commit

Permalink
Fix pcbdraw/kikit calls (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
soundmonster authored Feb 10, 2024
1 parent d5f78f6 commit 2095e7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ output/routed_pcbs/%-drc/: output/routed_pcbs/%.kicad_pcb

output/routed_pcbs/%-front.png: output/routed_pcbs/%.kicad_pcb
mkdir -p $(shell dirname $@)
${container_cmd} run ${container_args} yaqwsx/kikit:v0.7 pcbdraw --style builtin:oshpark-afterdark.json $< $@
${container_cmd} run ${container_args} --entrypoint /usr/local/bin/pcbdraw yaqwsx/kikit:v1.3.0 plot --side front --style oshpark-afterdark $< $@

output/routed_pcbs/%-back.png: output/routed_pcbs/%.kicad_pcb
mkdir -p $(shell dirname $@)
${container_cmd} run ${container_args} yaqwsx/kikit:v0.7 pcbdraw -b --style builtin:oshpark-afterdark.json $< $@
${container_cmd} run ${container_args} --entrypoint /usr/local/bin/pcbdraw yaqwsx/kikit:v1.3.0 plot --side back --style oshpark-afterdark $< $@

output/gerbers/%/gerbers.zip: output/routed_pcbs/%.kicad_pcb
mkdir -p $(shell dirname $@)
${container_cmd} run ${container_args} yaqwsx/kikit:v0.7 kikit fab jlcpcb --no-assembly $< $(shell dirname $@)
${container_cmd} run ${container_args} yaqwsx/kikit:v1.3.0 fab jlcpcb --no-drc --no-assembly $< $(shell dirname $@)

clean:
rm -rf output
Expand Down
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ meta:
engine: 4.0.4
name: samoklava
version: 0.3
author: soundmonnster
author: soundmonster
url: https://github.com/soundmonster/samoklava
units:
kx: cx
Expand Down

0 comments on commit 2095e7e

Please sign in to comment.