2024-02-23 12:35:45 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -eEuo pipefail
|
|
|
|
|
|
|
|
wget https://bootstrap.pypa.io/get-pip.py
|
|
|
|
python3 get-pip.py
|
|
|
|
python3 -m pip install qmk
|
|
|
|
rm get-pip.py
|
|
|
|
|
|
|
|
python3 -m pip install --upgrade milc
|
|
|
|
|
2024-05-02 13:20:54 +02:00
|
|
|
userspacePath="$1"
|
|
|
|
|
|
|
|
git config --global --add safe.directory "$userspacePath"
|
2024-02-23 12:35:45 +01:00
|
|
|
git submodule update --init --recursive
|
|
|
|
|
|
|
|
[ -d /workspaces/qmk_firmware ] || git clone https://github.com/qmk/qmk_firmware.git /workspaces/qmk_firmware
|
|
|
|
git config --global --add safe.directory /workspaces/qmk_firmware
|
|
|
|
|
|
|
|
qmk config user.qmk_home=/workspaces/qmk_firmware
|
2024-05-02 13:20:54 +02:00
|
|
|
qmk config user.overlay_dir="$userspacePath"
|
2024-02-23 12:35:45 +01:00
|
|
|
|
|
|
|
qmk git-submodule
|