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

Allow git2consul global package installation #72

Merged
merged 1 commit into from
Apr 7, 2016

Conversation

alexgervais
Copy link
Contributor

Allow you to install git2consul globally and have the git2consul executable in path.

npm install -g git2consul
git2consul

@@ -33,6 +33,8 @@
"should": "3.3.2",
"xunit-file": "0.0.5"
},
"preferGlobal": true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think having the user explicitly pass in -g is a better option, which seems to be what you documented in the README.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, the preferGlobal flag will only alert the user he should install it globally, but it will not cause any failure. ref: https://docs.npmjs.com/files/package.json#preferglobal

@calvn
Copy link
Contributor

calvn commented Apr 6, 2016

Can you also update the CHANGELOG to include this change? You can add it to v0.12.11.

@alexgervais
Copy link
Contributor Author

CHANGELOG updated. It does not reference a GH issue though.

@calvn calvn merged commit 4e291f1 into breser:master Apr 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants