Local sources for dependencies #1144
-
|
I was wonder if it's currently possible to install local packages e.g lib-2 needs to install lib-1. I've tried a few different things by setting the source.url and generating a rockspec and then trying to install the rockspec but I can't get this working. Is there a better way to handle this? I want to be able to install packages from a local source so I can test changes before pushing anything. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
|
Hey 👋 Using local packages as dependencies isn't currently supported. You could also set |
Beta Was this translation helpful? Give feedback.
Hey 👋
Using local packages as dependencies isn't currently supported.
I haven't tried it myself, but you could try using git dependencies, where the
gitfield is a local git URL (e.g.git@localhost:/path/to/local/git/repo).It might have trouble with SSH authentication though.
You could also set
LUA_PATHandLUA_CPATHto include your local project.