Skip to content

Commit 3388b82

Browse files
committed
package: add API repo if not present
1 parent 70c67f0 commit 3388b82

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

extras/package.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ if [ ! -f platform.txt ]; then
55
exit 2
66
fi
77

8+
if [ ! -d ../ArduinoCore-API ]; then
9+
git clone [email protected]:arduino/ArduinoCore-API.git ../ArduinoCore-API
10+
fi
11+
812
VERSION=`cat platform.txt | grep "version=" | cut -f2 -d"="`
913
echo $VERSION
1014

0 commit comments

Comments
 (0)