Make a Nim module available to all your projects

If you want to have some module available for all your quick projects in Nim, instead of adding it to --path every time, you can just turn it into a Nimble package.

Just add a file like this to the directory:

cool_utilities.nimble
[Package] name: "cool_utilities" version: "0.1" author: "Me" description: "Useful stuff" license: "MIT"

And use nimble install inside it to install this module or update it after you've made some changes.


Created
Comments powered by Disqus