rename and add authors

pull/8/head
iwilltry42 6 years ago
parent d94dd8cb8a
commit 866b98c429
  1. 2
      .travis.yml
  2. 2
      Makefile
  3. 14
      README.md
  4. 2
      go.mod
  5. 2
      install.sh
  6. 13
      main.go

@ -25,5 +25,5 @@ deploy:
- _dist/k3d-linux-arm64 - _dist/k3d-linux-arm64
- _dist/k3d-windows-amd64.exe - _dist/k3d-windows-amd64.exe
on: on:
repo: iwilltry42/k3d repo: rancher/k3d
tags: true tags: true

@ -16,7 +16,7 @@ PKG := $(shell go mod vendor)
TAGS := TAGS :=
TESTS := . TESTS := .
TESTFLAGS := TESTFLAGS :=
LDFLAGS := -w -s -X github.com/iwilltry42/k3d/version.Version=${GIT_TAG} LDFLAGS := -w -s -X github.com/rancher/k3d/version.Version=${GIT_TAG}
GOFLAGS := GOFLAGS :=
BINDIR := $(CURDIR)/bin BINDIR := $(CURDIR)/bin
BINARIES := k3d BINARIES := k3d

@ -1,7 +1,7 @@
# k3d # k3d
[![Build Status](https://travis-ci.com/iwilltry42/k3d.svg?branch=master)](https://travis-ci.com/iwilltry42/k3d) [![Build Status](https://travis-ci.com/rancher/k3d.svg?branch=master)](https://travis-ci.com/rancher/k3d)
[![Go Report Card](https://goreportcard.com/badge/github.com/iwilltry42/k3d)](https://goreportcard.com/report/github.com/iwilltry42/k3d) [![Go Report Card](https://goreportcard.com/badge/github.com/rancher/k3d)](https://goreportcard.com/report/github.com/rancher/k3d)
## k3s in docker ## k3s in docker
@ -20,16 +20,16 @@ Thanks to @zeerorg for the original work!
You have several options there: You have several options there:
- use the install script to grab the latest release: - use the install script to grab the latest release:
- wget: `wget -q -O - https://raw.githubusercontent.com/iwilltry42/k3d/master/install.sh | bash` - wget: `wget -q -O - https://raw.githubusercontent.com/rancher/k3d/master/install.sh | bash`
- curl: `curl -s https://raw.githubusercontent.com/iwilltry42/k3d/master/install.sh | bash` - curl: `curl -s https://raw.githubusercontent.com/rancher/k3d/master/install.sh | bash`
- Grab a release from the [release tab](https://github.com/iwilltry42/k3d/releases) and install it yourself. - Grab a release from the [release tab](https://github.com/rancher/k3d/releases) and install it yourself.
- Via go: `go install github.com/iwilltry42/k3d` - Via go: `go install github.com/rancher/k3d`
or... or...
## Build ## Build
1. Clone this repo, e.g. via `go get -u github.com/iwilltry42/k3d/releases` 1. Clone this repo, e.g. via `go get -u github.com/rancher/k3d/releases`
2. Inside the repo run 2. Inside the repo run
- `make` 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`

@ -1,4 +1,4 @@
module github.com/iwilltry42/k3d module github.com/rancher/k3d
go 1.12 go 1.12

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
APP_NAME="k3d" APP_NAME="k3d"
REPO_URL="https://github.com/iwilltry42/k3d" REPO_URL="https://github.com/rancher/k3d"
: ${USE_SUDO:="true"} : ${USE_SUDO:="true"}
: ${K3D_INSTALL_DIR:="/usr/local/bin"} : ${K3D_INSTALL_DIR:="/usr/local/bin"}

@ -4,8 +4,8 @@ import (
"log" "log"
"os" "os"
run "github.com/iwilltry42/k3d/cli" run "github.com/rancher/k3d/cli"
"github.com/iwilltry42/k3d/version" "github.com/rancher/k3d/version"
"github.com/urfave/cli" "github.com/urfave/cli"
) )
@ -19,9 +19,16 @@ func main() {
app.Version = version.GetVersion() app.Version = version.GetVersion()
app.Authors = []cli.Author{ app.Authors = []cli.Author{
cli.Author{ cli.Author{
Name: "iwilltry42", Name: "Thorsten Klein",
Email: "iwilltry42@gmail.com", Email: "iwilltry42@gmail.com",
}, },
cli.Author{
Name: "Rishabh Gupta",
Email: "r.g.gupta@outlook.com",
},
cli.Author{
Name: "Darren Shepherd",
},
} }
// commands that you can execute // commands that you can execute

Loading…
Cancel
Save