Skip to content

Commit e159482

Browse files
committed
Fixed wrong folder name for Adafruit Circuit Playground library
Fix #6462
1 parent 7d24d0e commit e159482

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build/build.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,12 @@
240240
<download-library name="Keyboard" version="1.0.1"/>
241241
<download-library name="SD" version="1.1.1"/>
242242
<download-library name="Servo" version="1.1.2"/>
243-
<download-library githubuser="Adafruit" name="Adafruit_CircuitPlayground" version="1.6.4"/>
243+
<download-library githubuser="Adafruit" name="Adafruit_CircuitPlayground" version="1.6.8" foldername="Adafruit_Circuit_Playground"/>
244244
</target>
245245

246246
<macrodef name="download-library">
247247
<attribute name="name"/>
248+
<attribute name="foldername" default="@{name}"/>
248249
<attribute name="version"/>
249250
<attribute name="tag" default="@{version}"/>
250251
<attribute name="githubuser" default="arduino-libraries"/>
@@ -255,7 +256,7 @@
255256
<param name="final_folder" value="${target.path}/libraries/@{name}-@{version}"/>
256257
<param name="dest_folder" value="${target.path}/libraries"/>
257258
</antcall>
258-
<move file="${target.path}/libraries/@{name}-@{version}" tofile="${target.path}/libraries/@{name}"/>
259+
<move file="${target.path}/libraries/@{name}-@{version}" tofile="${target.path}/libraries/@{foldername}"/>
259260
</sequential>
260261
</macrodef>
261262

build/shared/revisions.txt

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ ARDUINO 1.8.4
55
* Environment variable LIBRARY_INDEX_URL is now correctly parsed (LIBRARY_INDEX_URL_GZ can also be optinally specified). Thanks @xardael
66
* Added per-board generic option in config file boards.txt for disabling control of dtr+rts. Thanks @d-a-v
77

8+
[libraries]
9+
* Fixed wrong folder name for "Adafruit Circuit Playground" library, now it can be updated cleanly.
10+
811
ARDUINO 1.8.3 2017.05.31
912

1013
(bugfix service release)

0 commit comments

Comments
 (0)