Skip to content

Commit

Permalink
change name from pluralctl to plrlctl
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Sep 24, 2024
1 parent 77eb47c commit 46ce586
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ WAILS_BINDINGS_TAGS ?= bindings,generate
WAILS_BINDINGS_BINARY_NAME ?= wailsbindings
TAGS ?= $(WAILS_TAGS)
OUTFILE ?= plural.o
OUTCTLFILE ?= pluralctl.o
OUTCTLFILE ?= plrlctl.o
GOBIN ?= go env GOBIN

# Targets to run before other targets
Expand All @@ -41,11 +41,11 @@ git-push:
.PHONY: install
install:
go build -ldflags '$(LDFLAGS)' -o $(GOBIN)/plural ./cmd/plural
go build -ldflags '$(LDFLAGS)' -o $(GOBIN)/pluralctl ./cmd/pluralctl
go build -ldflags '$(LDFLAGS)' -o $(GOBIN)/plrlctl ./cmd/plrlctl

.PHONY: build-cli
build-cli: ## Build a CLI binary for the host architecture without embedded UI
go build -ldflags='$(LDFLAGS)' -o $(OUTFILE) ./cmd/plural
go build -ldflags='$(LDFLAGS)' -o $(OUTFILE) ./cmd/plrlctl

.PHONY: build-ctl
build-ctl: ## Build a CLI binary for the fleet management
Expand Down Expand Up @@ -77,7 +77,7 @@ generate-bindings: build-web ## Generate backend bindings for the embedded UI
.PHONY: release
release:
GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags='$(LDFLAGS)' -o $(OUTFILE) ./cmd/plural
GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags='$(LDFLAGS)' -o $(OUTCTLFILE) ./cmd/pluralctl
GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags='$(LDFLAGS)' -o $(OUTCTLFILE) ./cmd/plrlctl

.PHONY: goreleaser
goreleaser:
Expand Down
2 changes: 1 addition & 1 deletion cmd/pluralctl/main.go → cmd/plrlctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/pluralsh/plural-cli/pkg/utils"
)

const ApplicationName = "pluralctl"
const ApplicationName = "plrlctl"

type Plural struct {
client.Plural
Expand Down

0 comments on commit 46ce586

Please sign in to comment.