Skip to content

Commit

Permalink
env.sh: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Elizarov committed May 19, 2024
1 parent a830155 commit f3ce540
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions env.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@

__update_footprints() {
__update_footprints_gui() {
./fetch-footprints.sh ../ergogen-footprints/my/ ../ergogen-footprints/vanilla/ --clear
./make-gui.sh sync
}

alias ff=__update_footprints
__generate_pcb() {
./fetch-footprints.sh ../ergogen-footprints/my/ ../ergogen-footprints/vanilla/ --clear && \

./make-cli.sh run && \

open output/pcbs/clavier.kicad_pcb
}

__watch_and_gen_pcb() {
find input/ | entr -p bash -c "pkill pcbnew; source env.sh && __generate_pcb"
}


alias ff=__update_footprints_gui
alias gg=__generate_pcb

alias rgg=__watch_and_gen_pcb



alias d=docker

0 comments on commit f3ce540

Please sign in to comment.