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 repositories
Previously, library dependencies could only be installed via Library Manager.
- It is often desirable to test against non-release versions of dependencies.
- Releases take some time to be picked up by the Library Manager indexer and propagated through the CDN cache to become available for installation via LM.
- Some libraries are not available from Library Manager.
The optional source-path field allows installing libraries from a subfolder of the repository.
The optional destination-name field allows installing to a custom library name. This is useful to perfectly emulate the Library Manager installation of the library (which names the folder according to the library.properties name field).
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,14 @@ Keys:
38
38
- `source-path`- path to install as a library. Relative paths are assumed to be relative to the root of the repository.
39
39
- `destination-name`- folder name to install the library to. By default, the folder will be named according to the source repository or subfolder name.
40
40
41
+
##### Repository
42
+
43
+
Keys:
44
+
- `source-url`- URL to clone the repository from. It must start with `git://` or end with `.git`.
45
+
- `version`- [Git ref](https://git-scm.com/book/en/v2/Git-Internals-Git-References) of the repository to checkout. The special version name `latest` will cause the latest tag to be used. By default, the repository will be checked out to the tip of the default branch.
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
+
- `destination-name`- folder name to install the library to. By default, the folder will be named according to the source repository or subfolder name.
0 commit comments