Skip to content

Commit 1ba43fc

Browse files
committed
Updated code formatting and removed commented lines from ci test scripts
1 parent c344425 commit 1ba43fc

File tree

4 files changed

+120
-207
lines changed

4 files changed

+120
-207
lines changed

.github/scripts/install-arduino-core-esp32.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,8 @@ if [ ! -d "$ARDUINO_ESP32_PATH" ]; then
1515
pip install requests > /dev/null
1616
fi
1717

18-
# I don't get the code below, you'd want to test the source code in the current repository (forked or not), not in the espressif repo right?
19-
#if [ "$GITHUB_REPOSITORY" == "espressif/arduino-esp32" ]; then
2018
echo "Linking Core..."
2119
ln -s $GITHUB_WORKSPACE "$ARDUINO_ESP32_PATH"
22-
#else
23-
# echo "Cloning Core Repository ..."
24-
# git clone --recursive https://github.com/espressif/arduino-esp32.git "$PLATFORMIO_ESP32_PATH" > /dev/null 2>&1
25-
#fi
2620

2721
echo "Updating Submodules ..."
2822
cd esp32

.github/scripts/install-platformio-esp32.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,8 @@ python -m platformio platform install https://github.com/platformio/platform-esp
1414
echo "Replacing the framework version ..."
1515
python -c "import json; import os; fp=open(os.path.expanduser('~/.platformio/platforms/espressif32/platform.json'), 'r+'); data=json.load(fp); data['packages']['framework-arduinoespressif32']['version'] = '*'; del data['packages']['framework-arduinoespressif32']['owner']; fp.seek(0); fp.truncate(); json.dump(data, fp); fp.close()"
1616

17-
# I don't get the code below, you'd want to test the source code in the current repository (forked or not), not in the espressif repo right?
18-
#if [ "$GITHUB_REPOSITORY" == "espressif/arduino-esp32" ]; then
1917
echo "Linking Core..."
2018
ln -s $GITHUB_WORKSPACE "$PLATFORMIO_ESP32_PATH"
21-
#else
22-
# echo "Cloning Core Repository ..."
23-
# git clone --recursive https://github.com/espressif/arduino-esp32.git "$PLATFORMIO_ESP32_PATH" > /dev/null 2>&1
24-
#fi
2519

2620
echo "PlatformIO for ESP32 has been installed"
2721
echo ""

0 commit comments

Comments
 (0)