Add instruction to change directory to cloned repo while building. (#1430)

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
This commit is contained in:
Shivam Sandbhor 2021-09-19 14:25:28 +05:30 committed by GitHub
parent 8207146039
commit 65fe33a608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,15 +86,19 @@ __Steps:__
```console ```console
$ git clone https://github.com/kubernetes/kompose.git $GOPATH/src/github.com/kubernetes/kompose $ git clone https://github.com/kubernetes/kompose.git $GOPATH/src/github.com/kubernetes/kompose
``` ```
2. Build with `make` 2. Change directory to the cloned repo.
```console
cd $GOPATH/src/github.com/kubernetes/kompose
```
3. Build with `make`
```console ```console
$ make bin $ make bin
``` ```
3. Or build with `go` 4. Or build with `go`
```console ```console
$ go build -o kompose main.go $ go build -o kompose main.go
``` ```
4. Test your changes 5. Test your changes
```console ```console
$ make test $ make test
``` ```