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).
Is there a way how to reliably build a version of this program?
I tried with the following script:
It worked a while but then it failed with:
I think this is related with the lacking dependency management in go.
The
build-all.shscript is no help at all, since it seems to presume that specific binaries (no,go-linux-386is not part of the official go tarball) and scripts (like/Users/pii/scripts/golang-crosscompile/crosscompile.bashexist. 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