yonaskolb / Mint

A package manager that installs and runs executable Swift packages
MIT License
2.28k stars 122 forks source link

Support more package managers #67

Open lilyball opened 6 years ago

lilyball commented 6 years ago

I'm glad to see you support one package manager, but I don't use Homebrew anymore since the lead maintainer is a huge jackass.

Would you consider supporting at least one other package manager? The obvious choice is MacPorts. Personally I'm also a fan of Nix, though I realize that one's a bit esoteric.

yonaskolb commented 6 years ago

Yeah, I'm not the biggest fan of Homebrew either. At least when Mint is installed it can update itself 😄 I'd suggest using SPM itself to install otherwise

swift run mint run yonaskolb/mint

If you'd like to submit Mint to any package manager or create a PR here to add support, feel free. I'm happy to have multiple install methods, as long as the release step is scriptable

lilyball commented 6 years ago

I'm not aware of any equivalent to brew bump-formula-pr for other package managers, so if you're going to require that it be scriptable, then I'm not sure how to handle that.

lilyball commented 6 years ago

Here's a thought: Maybe provide a one-line shell script, something like curl -sSf https://raw.githubusercontent.com/yonaskolb/Mint/master/install.sh | sh, that clones the repo to a temporary directory and runs swift run mint install yonaskolb/mint inside it?