Skip to content

Commit 8a016b4

Browse files
authored
revert change - Remove PIO from build.sh
1 parent 9f8ee18 commit 8a016b4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

build.sh

+11
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,17 @@ if [ "$BUILD_TYPE" = "all" ]; then
305305
if [ $? -ne 0 ]; then exit 1; fi
306306
fi
307307

308+
# Generate PlatformIO manifest file
309+
if [ "$BUILD_TYPE" = "all" ]; then
310+
echo "* Generating PlatformIO manifest file..."
311+
pushd $IDF_PATH
312+
ibr=$(git describe --all 2>/dev/null)
313+
ic=$(git -C "$IDF_PATH" rev-parse --short HEAD)
314+
popd
315+
python3 ./tools/gen_platformio_manifest.py -o "$TOOLS_JSON_OUT/" -s "$ibr" -c "$ic"
316+
if [ $? -ne 0 ]; then exit 1; fi
317+
fi
318+
308319
# copy everything to arduino-esp32 installation
309320
if [ $COPY_OUT -eq 1 ] && [ -d "$ESP32_ARDUINO" ]; then
310321
echo "* Copying to Arduino..."

0 commit comments

Comments
 (0)