Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store 'mint-packages' in one global directory #78

Open
s0kil opened this issue Aug 27, 2018 · 3 comments
Open

Store 'mint-packages' in one global directory #78

s0kil opened this issue Aug 27, 2018 · 3 comments

Comments

@s0kil
Copy link
Contributor

s0kil commented Aug 27, 2018

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

@s0kil s0kil changed the title Store mint-packages in one global directory Store 'mint-packages' in one global directory Aug 27, 2018
@s0kil
Copy link
Contributor Author

s0kil commented Jan 9, 2020

We could pursue a path similar to https://pnpm.js.org and create a symbolic link from global/package/name to project/package/name.

@gdotdesign
Copy link
Member

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.

@s0kil
Copy link
Contributor Author

s0kil commented Sep 21, 2020

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

  • CLI Path: .asdf/installs/mint/0.10.0/bin/mint
  • Packages Path: .asdf/installs/mint/0.10.0/.mint/packages due to MINT_PACKAGES_PATH being set to .asdf/installs/mint/0.10.0/

@gdotdesign gdotdesign added this to the 0.13.0 milestone Apr 17, 2021
@gdotdesign gdotdesign removed this from the 0.13.0 milestone Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants