forked from LaconicNetwork/kompose
Merge pull request #227 from ngtuna/go-getable
make kompose go get-able
This commit is contained in:
commit
e909f9f959
@ -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
|
||||
|
||||
|
||||
@ -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}"
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user