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

Ensure a minimum version of the various bins #43

Closed
sindresorhus opened this issue Jul 20, 2014 · 4 comments
Closed

Ensure a minimum version of the various bins #43

sindresorhus opened this issue Jul 20, 2014 · 4 comments

Comments

@sindresorhus
Copy link
Contributor

Some bins change options and deprecate things. Since you defer to the installed one sometimes, it might make sense to enforce a minimum version of the bin.

Related: google/web-starter-kit#279 (comment)

You could use: https://github.com/sindresorhus/bin-version-check

@kevva
Copy link
Member

kevva commented Aug 8, 2014

Ah, is it reliable? Used to check versions using https://github.com/kevva/bin-check but due to kevva/bin-check#2 I decided against it.

@sindresorhus
Copy link
Contributor Author

@kevva it only checks the output of bin --version.

@kevva
Copy link
Member

kevva commented Aug 8, 2014

Yeah, yours is working because of execFile I guess. When using spawn there sometimes is a race condition and some systems won't get the stdout output.

@kevva
Copy link
Member

kevva commented Aug 8, 2014

Should probably open this in https://github.com/kevva/bin-wrapper instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants