diff --git a/README.md b/README.md index 0bd6196d..08bd3f6f 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,12 @@ tar -xvf kompose_linux-amd64.tar.gz --strip 1 sudo mv kompose /usr/local/bin ``` +Otherwise, you could take the latest development package from master branch. Make sure your PATH includes the $GOPATH/bin directory so your commands can be easily used: +```console +$ go get github.com/kubernetes-incubator/kompose +$ export PATH=$PATH:$GOPATH/bin +``` + ## Bash completion Running this below command in order to benefit from bash completion diff --git a/cli/main/main.go b/main.go similarity index 100% rename from cli/main/main.go rename to main.go diff --git a/script/binary b/script/binary index ee1c21a3..713caee2 100755 --- a/script/binary +++ b/script/binary @@ -12,7 +12,7 @@ rm -f $OUT_FILE go build \ "${BUILD_FLAGS[@]}" \ -o $OUT_FILE \ - ./cli/main + main.go if [ $? -eq 0 ]; then echo "Build successful. Program saved as ${OUT_FILE}" diff --git a/script/binary-cross b/script/binary-cross index ee3d11ae..4c2fbfda 100644 --- a/script/binary-cross +++ b/script/binary-cross @@ -24,4 +24,4 @@ rm -f kompose* gox "${OS_PLATFORM_ARG[@]}" "${OS_ARCH_ARG[@]}" \ -output="bundles/kompose_{{.OS}}-{{.Arch}}/kompose" \ "${BUILD_FLAGS[@]}" \ - ./cli/main + main.go