Use pre-built binary for macOS
The "Connecting using the Cloud SQL Proxy" page lists a method of installing cloud_sql_proxy that does not require compiling from sources.
The URL for the binary is the following:
https://dl.google.com/cloudsql/cloud_sql_proxy.darwin.amd64
Perhaps this tap could be updated to utilize the pre-built binary?
All latest pre-built binaries also exist here: https://github.com/GoogleCloudPlatform/cloudsql-proxy/releases
sry for answering that late. I'm actually not sure about all the advantages/disadvantges here, some people might wanna build it themselves? Just downloading the binary sure is convenient, not sure if it's nessecary
@tclass (opinion) I think most people would want to just install the tool without making modifications, installing go tooling, etc. We may disagree on this, as I am not sure my assumption are entirely correct though since I don't know the audience of the tool much. But given Google itself promotes downloading of binary package, perhaps doing so considered a default option most people would want to go with?
What do you think about making utilising formula syntax that allows use of both head and stable blocks, e.g. to support both to-be-compiled and stable version of tool?
how would that look like? Can you pass in a parameter into brew install?
@tclass yes, there's a way to express "install from HEAD" in brew install. For example:
brew install --HEAD git
Do you wanna implement that feature and create a PR?