From b242882ac556e1a3e4756794414740ab007bedf7 Mon Sep 17 00:00:00 2001 From: Links Date: Thu, 17 Jun 2021 19:56:45 +0200 Subject: [PATCH] add git submodule update --init to esp8266 build --- travis/common.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/travis/common.sh b/travis/common.sh index 234b1f6..81d60e9 100644 --- a/travis/common.sh +++ b/travis/common.sh @@ -28,7 +28,7 @@ function build_sketches() } function build_sketch() -{ +{ local arduino=$1 local sketch=$2 $arduino --verify $sketch; @@ -60,7 +60,7 @@ function get_sketches_json() if [[ $sketch != ${sketches[-1]} ]] ; then echo -en "," fi - + done echo -en "]" } @@ -97,6 +97,7 @@ function get_core() cd esp8266com git clone --depth 1 https://github.com/esp8266/Arduino.git esp8266 cd esp8266/ + git submodule update --init rm -rf .git cd tools python get.py @@ -127,5 +128,5 @@ function clone_library() { function hash_library_names() { cd $HOME/Arduino/libraries - ls | sha1sum -z | cut -c1-5 + ls | sha1sum -z | cut -c1-5 } \ No newline at end of file