Say I’ve built a module that helps with drawing a schedule widget.
Now I’d like to use that module in one of my apps. Perhaps later I’d like to use my schedule widget in multiple projects.
How do I do that? Is there a better way than copy pasting the same files in every project ?
I guess I could upload my project to elm-lang.org but, as of today, I’m not really proud of my Elm skills enough to publish Elm code on the internet for everyone to see.
Also, the case might arise that your module has to stay closed source because your customer is paying for the code and he wants the code to stay closed source.
So, how could I reuse one of my private module in different projects ?
Nice, I’m going to have a look and see if it’s possible to add a local repository (a repo that would live only on my local computer) as a dependency. I’ll probably end up creating a private remote repo anyway, but a local directory would be simpler for a start.