Skip to content

Commit

Permalink
chore: Rename kubectl-starboard executable to starboard (#7)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Pacak <[email protected]>
  • Loading branch information
danielpacak authored May 13, 2020
1 parent cc1deb2 commit 37fad20
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
21 changes: 14 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,24 @@ before:
hooks:
- go mod download
builds:
- id: build-kubectl-starboard
main: ./cmd/kubectl-starboard/main.go
binary: kubectl-starboard
- id: starboard
main: ./cmd/starboard/main.go
binary: starboard
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
archives:
- replacements:
darwin: Darwin
linux: Linux
386: i386
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
replacements:
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
snapshot:
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
SOURCES := $(shell find . -name '*.go')
BINARY := kubectl-starboard
BINARY := starboard

build: kubectl-starboard
build: starboard

$(BINARY): $(SOURCES)
CGO_ENABLED=0 go build -o ./bin/$(BINARY) ./cmd/kubectl-starboard/main.go
CGO_ENABLED=0 go build -o ./bin/$(BINARY) ./cmd/starboard/main.go

test: $(SOURCES)
go test -v -short -race -timeout 30s -coverprofile=coverage.txt -covermode=atomic ./...
File renamed without changes.

0 comments on commit 37fad20

Please sign in to comment.