Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
plodah authored Nov 1, 2024
1 parent 52430a4 commit 6a8cb50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

set -eEuo pipefail
mkdir -p /workspaces/qmk_firmware /workspaces/via_userspace /workspaces/via_keyboards /workspaces/qmk_firmware_upstream
# mkdir -p /workspaces/qmk_firmware /workspaces/via_userspace /workspaces/via_keyboards /workspaces/qmk_firmware_upstream

wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
Expand All @@ -18,14 +18,14 @@ git submodule update --init --recursive
[ -d /workspaces/qmk_firmware ] || git clone https://github.com/plodah/qmk_firmware.git -b mybuilds-2024-09 /workspaces/qmk_firmware
git config --global --add safe.directory /workspaces/qmk_firmware

[ -d /workspaces/via_userspace ] || git clone https://github.com/the-via/qmk_userspace_via.git -b main /workspaces/via_userspace
git config --global --add safe.directory /workspaces/via_userspace

qmk config user.qmk_home=/workspaces/qmk_firmware
qmk config user.overlay_dir="$userspacePath"

qmk git-submodule

[ -d /workspaces/via_userspace ] || git clone https://github.com/the-via/qmk_userspace_via.git -b main /workspaces/via_userspace
git config --global --add safe.directory /workspaces/via_userspace

[ -d /workspaces/via_keyboards ] || git clone https://github.com/the-via/keyboards.git -b master /workspaces/via_keyboards
git config --global --add safe.directory /workspaces/via_keyboards

Expand Down

0 comments on commit 6a8cb50

Please sign in to comment.