qmk_firmware/keyboards/satan/keymaps/iso_split_rshift/build.sh

19 lines
419 B
Bash
Executable File

#!/bin/bash
# adjust for cpu
# -j 16 gave best result on a hyperthreaded quad core core i7
THREADS="-j 16"
KMAP=iso_split_rschift
echo "We need sudo later"
sudo ls 2>&1 /dev/null
make clean
make KEYMAP=iso_split_rschift ${THREADS}
if [[ $? -eq 0 ]]
then
echo "please trigger flashing! you have 5 seconds"
sleep 5
sudo make KEYMAP=iso_split_rschift dfu ${THREADS}
else
echo "make failed"
exit 77
fi