Is it possible to specify a local folder or a symlink in the dependencies of library.json
?
The documentation doesn’t mention it, but I’ve made a few tests and it seems it almost works:
Symlink Test 1
{
"dependencies": {
"lib1xxx": "symlink://../Core"
}
}
gets you this error:
Library Manager: Installing symlink://../Core
PackageException: Can not create a symbolic link for `../Core`, not a directory
EDIT : as discussed below, this error is due to the fact that //../Core
is relative to the current project, not to the library folder. Thanks @sivar2311.
Symlink Test 2
{
"dependencies": {
"lib1xxx": "symlink:../Core"
}
}
seems to work:
Library Manager: Installing symlink:../Core
but in fact it doesn’t, as no symlink is actually created in libdeps (so the project doesn’t compile).
Local Folder
The same things happen when trying with a local folder instead of a symlink.