QMK/docker/entrypoint.sh

14 lines
290 B
Bash
Raw Normal View History

2022-12-27 13:15:52 -08:00
#!/bin/bash
if [[ -z "$QMK_TARGET" ]]; then
echo "You must provide a target to build!" 1>&2
exit 1
fi
make $QMK_TARGET
# Move output files to output directory.
# These are the only extensions qmk can produce,
# as far as I know.
2023-12-16 11:21:51 -08:00
mv *.{bin,hex,uf2} /build_output > /dev/null 2>&1
exit 0