Hi,
I use in a project a library I'm developing side-by-side with it and currently I just added it as a normal dependency to the github project.
This is obviously slow because whenever I change something in the library, I need to commit & push it, then unlock the dependency in the project & run 'mix deps.get'.
Is there any way how I could directly use the repository which is in another folder? I tried symlinking the library into the "deps" folder and changed in mix.lock the sha-hash to "master" (to reference the master branch). This is not working, error as follows:
Unchecked dependencies for environment dev:
* facebook (git://
github.com/mweibel/facebook.ex.git)
lock mismatch: the dependency is out of date
** (Mix) Can't continue due to errors on dependencies
In node e.g. you can either change the contents of the dependent folder directly or use 'npm link'[1] - I think a similar approach might be very helpful.
Did I miss something or is there another way?
Thanks,
Michael
[1]:
https://www.npmjs.org/doc/cli/npm-link.html