From 4e477d3262a88896781edd87f7d7da713cd13559 Mon Sep 17 00:00:00 2001 From: iwilltry42 Date: Wed, 10 Apr 2019 20:10:36 +0200 Subject: [PATCH] rename to k3d --- .travis.yml | 2 +- Makefile | 2 +- README.md | 16 ++++++++-------- go.mod | 2 +- install.sh | 2 +- main.go | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index add2a73a..2f0c8fbd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,5 +25,5 @@ deploy: - _dist/k3d-linux-arm64 - _dist/k3d-windows-amd64.exe on: - repo: iwilltry42/k3d-go + repo: iwilltry42/k3d tags: true diff --git a/Makefile b/Makefile index b8fdd736..8b322b0d 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ PKG := $(shell go mod vendor) TAGS := TESTS := . TESTFLAGS := -LDFLAGS := -w -s -X github.com/iwilltry42/k3d-go/version.Version=${GIT_TAG} +LDFLAGS := -w -s -X github.com/iwilltry42/k3d/version.Version=${GIT_TAG} GOFLAGS := BINDIR := $(CURDIR)/bin BINARIES := k3d diff --git a/README.md b/README.md index a146a761..849f95a9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# k3d-go +# k3d -[![Build Status](https://travis-ci.com/iwilltry42/k3d-go.svg?branch=master)](https://travis-ci.com/iwilltry42/k3d-go) -[![Go Report Card](https://goreportcard.com/badge/github.com/iwilltry42/k3d-go)](https://goreportcard.com/report/github.com/iwilltry42/k3d-go) +[![Build Status](https://travis-ci.com/iwilltry42/k3d.svg?branch=master)](https://travis-ci.com/iwilltry42/k3d) +[![Go Report Card](https://goreportcard.com/badge/github.com/iwilltry42/k3d)](https://goreportcard.com/report/github.com/iwilltry42/k3d) ## k3s in docker @@ -20,16 +20,16 @@ Thanks to @zeerorg for the original work! You have several options there: - use the install script to grab the latest release: - - wget: `wget -q -O - https://raw.githubusercontent.com/iwilltry42/k3d-go/master/install.sh | bash` - - curl: `curl -s https://raw.githubusercontent.com/iwilltry42/k3d-go/master/install.sh | bash` -- Grab a release from the [release tab](https://github.com/iwilltry42/k3d-go/releases) and install it yourself. -- Via go: `go install github.com/iwilltry42/k3d-go` + - wget: `wget -q -O - https://raw.githubusercontent.com/iwilltry42/k3d/master/install.sh | bash` + - curl: `curl -s https://raw.githubusercontent.com/iwilltry42/k3d/master/install.sh | bash` +- Grab a release from the [release tab](https://github.com/iwilltry42/k3d/releases) and install it yourself. +- Via go: `go install github.com/iwilltry42/k3d` or... ## 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/releases` 2. Inside the repo run - `make` to build for your current system - `go install` to install it to your `GOPATH` diff --git a/go.mod b/go.mod index e3ca8667..7f069531 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/iwilltry42/k3d-go +module github.com/iwilltry42/k3d go 1.12 diff --git a/install.sh b/install.sh index 7cd0cc9c..8b31e6dc 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash APP_NAME="k3d" -REPO_URL="https://github.com/iwilltry42/k3d-go" +REPO_URL="https://github.com/iwilltry42/k3d" : ${USE_SUDO:="true"} : ${K3D_INSTALL_DIR:="/usr/local/bin"} diff --git a/main.go b/main.go index 007b0b9f..69434422 100644 --- a/main.go +++ b/main.go @@ -4,8 +4,8 @@ import ( "log" "os" - "github.com/iwilltry42/k3d-go/cli" - "github.com/iwilltry42/k3d-go/version" + "github.com/iwilltry42/k3d/cli" + "github.com/iwilltry42/k3d/version" "github.com/urfave/cli" )