You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
410 B
Bash

#!/bin/bash
set -e
mkdir -p out
IMAGE=$(docker build -q .)
docker run -it \
--mount type=bind,src=$(pwd)/out,dst=/out \
$IMAGE \
sh -c 'cd /qmk_firmware && qmk compile -kb massdrop/alt -km ashe && cp massdrop_alt_ashe.bin /out'
cp out/massdrop_alt_ashe.bin ~/bin/Massdrop/qmk/massdrop_alt_ashe.bin
cd ~/bin/Massdrop/
./md_loader_windows.exe --first --download ./qmk/massdrop_alt_ashe.bin --restart