~ruther/qmk_firmware

ref: 6a2c53e91deda221aa5016d00788f9f59991ed25 qmk_firmware/util/install/macos.sh -rwxr-xr-x 736 bytes
6a2c53e9 — QMK Bot Merge remote-tracking branch 'origin/master' into develop 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env bash

_qmk_install_prepare() {
    echo "Checking Homebrew installation"

    if ! brew --version >/dev/null 2>&1; then
        echo "Error! Homebrew is broken or not installed."
        echo "Please run \`brew doctor\` or follow the installation instructions at https://brew.sh/, then re-run this script."
        return 1
    fi

    brew update && brew upgrade --formulae --ignore-pinned
}

_qmk_install() {
    echo "Installing dependencies"

    # All macOS dependencies are managed in the Homebrew package:
    # https://github.com/qmk/homebrew-qmk
    brew install qmk/qmk/qmk

    brew link --force avr-gcc@8
    brew link --force arm-gcc-bin@8

    python3 -m pip install -r $QMK_FIRMWARE_DIR/requirements.txt
}
Do not follow this link