@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eEuo pipefail
umask 022
set -x
_qmk_install() {
echo "Installing dependencies"
DEBIAN_FRONTEND=noninteractive
DEBCONF_NONINTERACTIVE_SEEN=true
_qmk_install_prepare() {
sudo pkg update $SKIP_PROMPT
echo "This script will make a USE change in order to ensure that that QMK works on your system."
# For those distros that do not package bootloadHID
_qmk_install_bootloadhid() {
echo "Checking Homebrew installation"
pacman -Syu $MSYS2_CONFIRM
echo "Before you continue, please ensure that your user is added to sudoers and that sboinstall is configured."
sudo eopkg -y update-repo
# This script generates a new keyboard directory under keyboards/,
# and copies the template files from quantum/template/ into it.
QMK_FIRMWARE_DIR=$(cd -P -- "$(dirname -- "$0")/.." && pwd -P)
QMK_FIRMWARE_UTIL_DIR=$QMK_FIRMWARE_DIR/util
# This script finds all rules.mk files in keyboards/ subdirectories,
# and deletes the build option filesize impacts from them.
source util/travis_utils.sh
source util/travis_push.sh