Formula/opa.rb
# StdGoRequirement looks for go in std environment
StdGoRequirement looks for go in std environment
StdGoRequirement looks for go in std environment
def install
    system "go", "build", "-o", bin/"opa", "-trimpath", "-ldflags",
                 "-X github.com/open-policy-agent/opa/version.Version=#{version}"
    prefix.install_metafiles
  end
def install system "go" , "build" , "-o" , bin / "opa" , "-trimpath" , "-ldflags" , "-X github.com/open-policy-agent/opa/version.Version=#{version}" prefix . install_metafiles end
StdGoRequirement looks for go in std environment
StdGoRequirement looks for go in std environment