Skip to content

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