Skip to content
This repository was archived by the owner on Sep 20, 2018. It is now read-only.

deps: do not install go if it's available on the system #9

@rjeczalik

Description

@rjeczalik

Sometimes it may happen that user chose to install go either:

+ by hand by unzipping the Go distibution
+ by Mac installer
= not using homebew

Having [0] would make homebrew to install Go for the second time, which may cause sometimes a lot of subtle problems, since type go will point to homebrew's Go but GOROOT to the old, system one.

I think what would be helpful is to peek if go exist first, and then install it if needed.

[0] https://github.com/go-delve/homebrew-delve/blob/master/Formula/delve.rb#L10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions