Closed acecilia closed 5 years ago
The Mintfile
is designed for local usage that doesn't affect the global state.
If you really want to link this globally though you can run
mint install SwiftLint
which will look up Swiftlint in the mintfile and install it both locally and globally.
Cool, that is what is seemed like. I can look into adding an option to mint, so it is possible to install a mintfile globally. What do you think?
Yeah sure, sounds good 👍
I really like the --link
option added to bootstrap
(thank you @acecilia!), however I think it's a little inconsistent with how install
works:
install
will link the binaries in /usr/local/bin
, and we can use the --no-link
option to prevent thatbootstrap
will not link the binaries, and we can use the --link
option to create the linksWhile the options themselves are self-explicit and clear, I think the default behavior should be the same for both commands.
I just started using mint so I'm not familiar yet with how it works in details, but couldn't the two commands be merged? For example mint install
with no argument could install all dependencies in the Mintfile (a bit like what Python's pip
does when called as pip -r requirements.txt
for example).
Thoughts?
Hi @guillaumealgis. I also mentioned that issue in https://github.com/yonaskolb/Mint/pull/137 and I think @yonaskolb is aware of it. Such change requires a major version bump, so it may take some time until it’s done and released
Hi: In my
Mintfile
I have:I expected to be able to do
mint bootstrap
and thenswiftlint help
, but that last command does not work straight away becausemint bootstrap
is not linking the installed packages globally. Is there any way to do that?Thanks!