keyboards/zorne/build.fish

17 lines
615 B
Fish
Raw Permalink Normal View History

2021-04-12 16:01:49 -05:00
#!/usr/bin/env fish
docker run -it --rm \
-v (pwd)/.cache:/zorne \
-v (pwd)/config:/zorne/config:ro \
-v (pwd)/build:/build \
2021-11-08 23:20:01 -06:00
zmkfirmware/zmk-build-arm:2.5 sh -c 'cd /zorne
2021-04-12 16:24:12 -05:00
west init -l config
2021-04-12 16:01:49 -05:00
west update
west zephyr-export
2021-04-12 16:24:12 -05:00
echo "Building left"
west build --pristine -s zmk/app -b nice_nano -- -DSHIELD=corne_left -DZMK_CONFIG="/zorne/config"
cp /zorne/build/zephyr/zmk.uf2 /build/corne_left_nice_nano.uf2
2021-04-12 16:24:12 -05:00
echo "Building right"
west build --pristine -s zmk/app -b nice_nano -- -DSHIELD=corne_right -DZMK_CONFIG="/zorne/config"
cp /zorne/build/zephyr/zmk.uf2 /build/corne_right_nice_nano.uf2'