update readme and bump version
This commit is contained in:
parent
50370c25c7
commit
fae59d652a
@ -19,13 +19,15 @@ Thanks to @zeerorg for the original work!
|
|||||||
|
|
||||||
Grab a release from the [release tab](https://github.com/iwilltry42/k3d-go/releases).
|
Grab a release from the [release tab](https://github.com/iwilltry42/k3d-go/releases).
|
||||||
|
|
||||||
|
or `go install github.com/iwilltry42/k3d-go`
|
||||||
|
|
||||||
or...
|
or...
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
1. Clone this repo, e.g. via `go get -u github.com/iwilltry42/k3d-go/releases`
|
1. Clone this repo, e.g. via `go get -u github.com/iwilltry42/k3d-go/releases`
|
||||||
2. Inside the repo run
|
2. Inside the repo run
|
||||||
- `make bootstrap` to install build tools and then `make build` to build for your current system
|
- `make` to build for your current system
|
||||||
- `go install` to install it to your `GOPATH`
|
- `go install` to install it to your `GOPATH`
|
||||||
- `make build-cross` to build for all systems
|
- `make build-cross` to build for all systems
|
||||||
|
|
||||||
@ -44,4 +46,6 @@ Example Workflow: Create a new cluster and use it with `kubectl`
|
|||||||
|
|
||||||
- [ ] Use the docker client library instead of commands
|
- [ ] Use the docker client library instead of commands
|
||||||
- [ ] Test the docker version
|
- [ ] Test the docker version
|
||||||
- [ ] Improve cluster state management
|
- [ ] Improve cluster state management
|
||||||
|
- [ ] Use [hsirupsen/logrus](https://github.com/sirupsen/logrus) for prettier logs
|
||||||
|
- [ ] Add install script
|
||||||
3
main.go
3
main.go
@ -120,7 +120,7 @@ func main() {
|
|||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Name = "k3d"
|
app.Name = "k3d"
|
||||||
app.Usage = "Run k3s in Docker!"
|
app.Usage = "Run k3s in Docker!"
|
||||||
app.Version = "0.0.2"
|
app.Version = "0.1.0"
|
||||||
app.Authors = []cli.Author{
|
app.Authors = []cli.Author{
|
||||||
cli.Author{
|
cli.Author{
|
||||||
Name: "iwilltry42",
|
Name: "iwilltry42",
|
||||||
@ -136,7 +136,6 @@ func main() {
|
|||||||
Aliases: []string{"ct"},
|
Aliases: []string{"ct"},
|
||||||
Usage: "Check if docker is running",
|
Usage: "Check if docker is running",
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
//TODO: own function with version check
|
|
||||||
log.Print("Checking docker...")
|
log.Print("Checking docker...")
|
||||||
cmd := "docker"
|
cmd := "docker"
|
||||||
args := []string{"version"}
|
args := []string{"version"}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user