From 67155b84ad51cb6d68896c63040cd7ba72a03310 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 28 Mar 2022 09:49:37 -0700 Subject: [PATCH] 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 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index c940d834..ad4d15d0 100644 --- a/Makefile +++ b/Makefile @@ -50,10 +50,12 @@ $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/virtual/boards.txt: $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/boards.txt: git clone -c core.symlinks=true \ --recurse-submodules \ + --shallow-submodules \ https://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio \ $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio git clone -c core.symlinks=true \ --recurse-submodules \ + --shallow-submodules \ https://github.com/keyboardio/ArduinoCore-GD32-Keyboardio $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/gd32 update: