Skip to content

Commit

Permalink
Added a section about building
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanstipl committed Apr 9, 2020
1 parent 6bcea89 commit 035efdb
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,36 @@ Usage of ./kubent:
-o, --output string output format - [text|json] (default "text")
```


## Development

The simplest way to build `kubent` is:

```sh
# Clone the repository
git clone https://github.com/doitintl/kube-no-trouble.git
cd kube-no-trouble/
# We require statik for generating static embedded files
go get github.com/rakyll/statik
# Generate
go generate
# Build
go build -o bin/kubent cmd/kubent/main.go
```

Otherwise there's `Makefile`
```sh
$ make
make
all Cean, build and pack
help Prints list of tasks
build Build binary
generate Go generate
pack Pack binaries with upx
release-artifacts Create release artifacts
clean Clean build artifacts
```

## Issues and Contributions

Please open any issues and/or PRs against github.com/doitintl/kube-no-trouble repository.
Expand Down

0 comments on commit 035efdb

Please sign in to comment.