QMK/build.sh

18 lines
426 B
Bash
Raw Normal View History

2022-11-18 23:33:15 -08:00
#!/bin/bash
2022-12-27 13:20:23 -08:00
# Uses the docker container defined in
# the `docker` directory of this repo.
# Run from the root directory of this repo.
# Targets in this repo:
# betalupi_ergodox:default
2022-11-18 23:33:15 -08:00
#
2022-12-27 13:20:23 -08:00
# Usage:
# bash build.sh betalupi_ergodox:default
2022-11-18 23:33:15 -08:00
2022-11-20 20:45:13 -08:00
docker run -it --rm \
2022-11-18 23:33:15 -08:00
--user $(id -u):$(id -g) \
-v "$(pwd)/output:/build_output" \
-v "$(pwd)/keyboards:/qmk_firmware/keyboards:ro" \
2022-12-27 13:20:23 -08:00
-e QMK_TARGET="$1" \
2022-11-18 23:33:15 -08:00
git.betalupi.com/mark/qmk