Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
update devcontainer setup to add additional repos
  • Loading branch information
plodah authored Nov 1, 2024
1 parent 9d984ae commit 7f081c3
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,18 @@ 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

[ -d /workspaces/via_userspace ] || git clone https://github.com/the-via/keyboards.git -b master /workspaces/via-keyboards
git config --global --add safe.directory /workspaces/via-keyboards
[ -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_keyboards ] || git clone https://github.com/the-via/keyboards.git -b master /workspaces/via_keyboards
git config --global --add safe.directory /workspaces/via_keyboards

[ -d /workspaces/qmk_firmware_upstream ] || git clone https://github.com/plodah/qmk_firmware.git -b master /workspaces/qmk_firmware_upstream
git config --global --add safe.directory /workspaces/qmk_firmware_upstream
cd /workspaces/qmk_firmware_upstream
git submodule update --init --recursive

0 comments on commit 7f081c3

Please sign in to comment.