11 lines
467 B
Bash
Executable File
11 lines
467 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
docker run -it --rm \
|
|
-v "$(pwd)/config:/home/builder/zmk-config" \
|
|
-v "$(pwd)/out:/home/builder/out" \
|
|
zmk bash -c '
|
|
west build --pristine -b nice_nano_v2 -- -DZMK_CONFIG=/home/builder/zmk-config -DSHIELD=corne_left && \
|
|
cp build/zephyr/zmk.uf2 ~/out/corne_left.uf2 && \
|
|
west build --pristine -b nice_nano_v2 -- -DZMK_CONFIG=/home/builder/zmk-config -DSHIELD=corne_right && \
|
|
cp build/zephyr/zmk.uf2 ~/out/corne_right.uf2'
|