mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-21 19:02:06 +02:00
add git submodule update --init to esp8266 build
This commit is contained in:
@ -28,7 +28,7 @@ function build_sketches()
|
|||||||
}
|
}
|
||||||
|
|
||||||
function build_sketch()
|
function build_sketch()
|
||||||
{
|
{
|
||||||
local arduino=$1
|
local arduino=$1
|
||||||
local sketch=$2
|
local sketch=$2
|
||||||
$arduino --verify $sketch;
|
$arduino --verify $sketch;
|
||||||
@ -60,7 +60,7 @@ function get_sketches_json()
|
|||||||
if [[ $sketch != ${sketches[-1]} ]] ; then
|
if [[ $sketch != ${sketches[-1]} ]] ; then
|
||||||
echo -en ","
|
echo -en ","
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
echo -en "]"
|
echo -en "]"
|
||||||
}
|
}
|
||||||
@ -97,6 +97,7 @@ function get_core()
|
|||||||
cd esp8266com
|
cd esp8266com
|
||||||
git clone --depth 1 https://github.com/esp8266/Arduino.git esp8266
|
git clone --depth 1 https://github.com/esp8266/Arduino.git esp8266
|
||||||
cd esp8266/
|
cd esp8266/
|
||||||
|
git submodule update --init
|
||||||
rm -rf .git
|
rm -rf .git
|
||||||
cd tools
|
cd tools
|
||||||
python get.py
|
python get.py
|
||||||
@ -127,5 +128,5 @@ function clone_library() {
|
|||||||
|
|
||||||
function hash_library_names() {
|
function hash_library_names() {
|
||||||
cd $HOME/Arduino/libraries
|
cd $HOME/Arduino/libraries
|
||||||
ls | sha1sum -z | cut -c1-5
|
ls | sha1sum -z | cut -c1-5
|
||||||
}
|
}
|
Reference in New Issue
Block a user