Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Reliable build #64

Open
kleinph opened this Issue · 0 comments

1 participant

@kleinph

Is there a way how to reliably build a version of this program?
I tried with the following script:

cd "path/to-source"
GOPATH="path" go get -fix -v -x github.com/prasmussen/gdrive
GOPATH="path" go build -o "path/bin/gdrive"

It worked a while but then it failed with:

./drive.go:98: not enough arguments in call to cli.List
./drive.go:101: not enough arguments in call to cli.Info
./drive.go:124: not enough arguments in call to cli.DownloadLatest
./drive.go:126: not enough arguments in call to cli.Download

I think this is related with the lacking dependency management in go.

The build-all.sh script is no help at all, since it seems to presume that specific binaries (no, go-linux-386 is not part of the official go tarball) and scripts (like /Users/pii/scripts/golang-crosscompile/crosscompile.bash exist. Why is this checked in at all?

So, how can I specify the versions needed for a reliable build (of a tag) and which version do I need?

The reason for this request is that I want to provide a PKGBUILD for Arch Linux (so that Arch users can install this program via their package manager). (Repeo | Package).

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.