shallow clone to make installation faster (#4246)

shallow clone (board and submodules) to make installation faster
This commit is contained in:
Dimitre 2020-10-01 08:43:48 -03:00 committed by GitHub
parent ee88c42c3b
commit c917ed2504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,9 +7,9 @@ Installation instructions for Mac OS
```bash ```bash
mkdir -p ~/Documents/Arduino/hardware/espressif && \ mkdir -p ~/Documents/Arduino/hardware/espressif && \
cd ~/Documents/Arduino/hardware/espressif && \ cd ~/Documents/Arduino/hardware/espressif && \
git clone https://github.com/espressif/arduino-esp32.git esp32 && \ git clone https://github.com/espressif/arduino-esp32.git esp32 --depth 1 && \
cd esp32 && \ cd esp32 && \
git submodule update --init --recursive && \ git submodule update --init --recursive --depth 1 && \
cd tools && \ cd tools && \
python get.py python get.py
``` ```