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

Add go installer for Go packages. #204

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

weakish
Copy link
Contributor

@weakish weakish commented May 3, 2016

No description provided.

@weakish weakish changed the title Add a composer (PHP) installer. Add go installer for Go packages. May 3, 2016
@joshgoebel
Copy link
Contributor

Since go get supports a list this should by a subclass of PackageInstaller and use most of it's built-in functionality to handle multi-package installs.


verify_api do
def has_go(package)
@commands << " go list '...' | grep -F '#{package}'"
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think -F is reliable enough here, you want to make sure you aren't matching the wrong line and getting false positives...

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

Successfully merging this pull request may close these issues.

2 participants