Open s0kil opened 6 years ago
We could pursue a path similar to https://pnpm.js.org
and create a symbolic link from global/package/name
to project/package/name
.
Since we are using Git repositories as packages and don't know if it makes sense to store versions of them separately, I need to think about how and if this can be implemented.
We could also read from ENV variable MINT_PACKAGES_PATH
, and tools such as asdf could create separate package's directory for every Mint version.
Example: Mint 0.10.0
.asdf/installs/mint/0.10.0/bin/mint
.asdf/installs/mint/0.10.0/.mint/packages
due to MINT_PACKAGES_PATH
being set to .asdf/installs/mint/0.10.0/
Mint downloads
mint-packages
per project folder. It should store in a global directory such as:$HOME/.mint/0.2.1/package/mint-lang/mint-core/0.2.0