wunderio / radi-cli

CLI interface for the Radi-API
1 stars 2 forks source link

Enable go get support #25

Closed james-nesbitt closed 7 years ago

james-nesbitt commented 7 years ago

This is a patch that slightly refactors the code to allow it to work better with standard go get functionality.

This should help solve #24

Note that when using go get it may be that the pinned dependencies don't work, but this needs to be in master before we can really test that. The best approach for us now is to change the docs to recommend retrieving the code using go get and then building manually in the ${GOPATH}/src/github.com/wunderkraut/radi-cli path.

This fixes local manual builds by putting the codebase into the GOPATH, meaning that the vendor paths should work.

james-nesbitt commented 7 years ago

there is an additional chmod u+x Makefile in there, which might fix the reported problem using build.sh

james-nesbitt commented 7 years ago

incoming README changes in this patch