zmk: qol build script improvement
This commit is contained in:
parent
fd3a8a41f4
commit
8f1742f9d6
2 changed files with 9 additions and 4 deletions
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
rm -rf left.uf2 right.uf2
|
||||
|
||||
if [ "$1" == "--cached" ]; then
|
||||
devcontainer exec --workspace-folder ./zmk /bin/bash phiboard-build-cached.sh
|
||||
if [ "$1" == "--cached" ] || [ "$1" == "-c" ]; then
|
||||
devcontainer exec --workspace-folder ./zmk /bin/bash phiboard-build-cached.sh
|
||||
else
|
||||
devcontainer up --workspace-folder ./zmk
|
||||
devcontainer exec --workspace-folder ./zmk /bin/bash phiboard-build.sh
|
||||
devcontainer up --workspace-folder ./zmk
|
||||
devcontainer exec --workspace-folder ./zmk /bin/bash phiboard-build.sh
|
||||
fi
|
||||
|
||||
cp zmk/app/build/left/zephyr/zmk.uf2 left.uf2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue