Hi,
As you at this kind of work, have you considered a reliable one-liner to
install dependencies ?
I got that own, just today, from a gae repo (?), anyways here it is,
go get -u -v $(go list -f '{{join .Imports "\n"}}{{"\n"}}{{join
.TestImports "\n"}}' ./... | sort | uniq | grep -v golang-samples)
Problem is, it did not quiet work for me when i put that into my travis :x
https://travis-ci.org/mh-cbon/dht/jobs/260206514
even when i restart the job.
Do you have any ideas how to fix that ?
thanks
On Tuesday, August 1, 2017 at 9:42:00 PM UTC+2, Steve Francia wrote:
>
> Greetings Gophers,
>
> I've been working on a "one line installer" for Go with Jess Frazelle and
> Chris Broadfoot and we think it's ready to share a bit more broadly.
>
> The installer is designed to both install Go as well as do the initial
> configuration of setting up the right environment variables and paths.
> It will install the Go distribution (tools & stdlib) to "/.go" inside your
> home directory by default.
> It will setup "$HOME/go" as your GOPATH.
>
> If Go is already installed *via this installer* it will upgrade it to the
> latest version of Go.
>
> Currently supported systems:
> linux, darwin, windows / amd64, 386 / bash, zsh, powershell
>
>
> *Usage*
> Windows Powershell:
> (New-Object System.Net.WebClient).DownloadFile('
> https://get.golang.org/installer.exe', 'installer.exe'); Start-Process
> -Wait -NonewWindow installer.exe; Remove-Item installer.exe
>
> Shell (Linux/macOS/Windows):
> curl -LO https://get.golang.org/$(uname)/go_installer && chmod +x
> go_installer && ./go_installer && rm go_installer
>
>
> As we discovered developing this, installers are really all edge cases.
> We're certain we've not found many of them.
> *Our goal is that this becomes the primary mechanism to install Go. *
> *To do that, we need your help testing, improving and fixing it. *
>
> The source can be found at
> https://go.googlesource.com/tools/+/master/cmd/getgo/
> If you find any issues please report them on Github
> https://github.com/golang/go/issues/new?title=tools/cmd/getgo:
>
> Thanks,
> Steve
>
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.