You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for installing library dependencies from archive downloads
- Archive downloads are often faster than cloning repositories, especially when the repository contains binaries.
- Some libraries are not available from Git repositories.
The optional source-path field allows installing libraries which are not in the archive's root folder.
The optional destination-name field allows installing libraries to a custom named library folder. This is useful for perfectly emulating the library as it will be installed by Library Manager, which uses the library.properties name field to name the library folder.
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,12 @@ Keys:
46
46
- `source-path`- path to install as a library. Paths are relative to the root of the repository. The default is to install from the root of the repository.
47
47
- `destination-name`- folder name to install the library to. By default, the folder will be named according to the source repository or subfolder name.
48
48
49
+
##### Archive download
50
+
51
+
Keys:
52
+
- `source-url`- download URL for the archive (e.g., `https://github.com/arduino-libraries/Servo/archive/master.zip`).
53
+
- `source-path`- path to install as a library. Paths are relative to the root folder of the archive. If the archive doesn't have a root folder, use `..` as `source-path` to install from the archive root. The default is to install from the root folder of the archive.
54
+
- `destination-name`- folder name to install the library to. By default, the folder will be named according to the source archive or subfolder name.
0 commit comments