4 ms·
How about some instructions on building it ? It lacks a Makefile or any documentation in the tarball for the latest release (v0.0.13)... I found some sparse d
by rkeene2 10y ago
How about some instructions on building it ?
It lacks a Makefile or any documentation in the tarball for the latest release (v0.0.13)...
I found some sparse documentation on the wiki, but that appears to fail. I tried: GOPATH=$(pwd) go build .
And got:
$ GOPATH=$(pwd) go build .
main.go:19:8: cannot find package "github.com/wallix/awless/commands" in any of:
/usr/src/github.com/wallix/awless/commands (from $GOROOT)
/home/rkeene/Downloads/awless-0.0.13/src/github.com/wallix/awless/commands (from $GOPATH)
- simbit 10y agoIt seems your GOPATH is not set correctly. First freshly install Go independently. Verify it is installed correctly with "go env". Then do a "go get github.com/wallix/awless", "cd $GOPATH/src/github.com/wallix/awless" and "go install". Then in the same prompt do "awless"
- rkeene2 10y agoI downloaded the release tarball, so why would I also use "go get" to get the source I just downloaded ?
- fxaguessy 10y agoThe easiest way to build awless from source is to use our release script (go run release.go -tag 0.0.13). Or you can also get the full sources with `go get github.com/wallix/awless`. Then, `go build .` in `$GOPATH/src/github.com/wallix/awless/` should work.