zmk: refine build and setup script

This commit is contained in:
phiwan-dev 2025-07-21 23:38:09 +02:00
parent de484e0f1e
commit ae6070df25
2 changed files with 5 additions and 0 deletions

View file

@ -1,8 +1,11 @@
#! /usr/bin/env bash
rm -rf left.uf2 right.uf2
if [ "$1" == "--cached" ]; 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
fi