Skip to content

Commit

Permalink
rename to k3d
Browse files Browse the repository at this point in the history
  • Loading branch information
iwilltry42 committed Apr 10, 2019
1 parent 45eb460 commit 4e477d3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ deploy:
- _dist/k3d-linux-arm64
- _dist/k3d-windows-amd64.exe
on:
repo: iwilltry42/k3d-go
repo: iwilltry42/k3d
tags: true
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/iwilltry42/k3d-go
module github.com/iwilltry42/k3d

go 1.12

Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -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"}
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down

0 comments on commit 4e477d3

Please sign in to comment.