When running make setup, only clone our submodules shallowly. It's easy

for a developer to fix when they want/need to and for 99.9% of use cases
is "the right thing"

It should also make initial setup much faster
pull/1147/head
Jesse Vincent 3 years ago
parent 72f3118c6b
commit 67155b84ad
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -50,10 +50,12 @@ $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/virtual/boards.txt:
$(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/boards.txt: $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/boards.txt:
git clone -c core.symlinks=true \ git clone -c core.symlinks=true \
--recurse-submodules \ --recurse-submodules \
--shallow-submodules \
https://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio \ https://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio \
$(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio
git clone -c core.symlinks=true \ git clone -c core.symlinks=true \
--recurse-submodules \ --recurse-submodules \
--shallow-submodules \
https://github.com/keyboardio/ArduinoCore-GD32-Keyboardio $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/gd32 https://github.com/keyboardio/ArduinoCore-GD32-Keyboardio $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/gd32
update: update:

Loading…
Cancel
Save