Skip to content

Commit

Permalink
Remove tctl code
Browse files Browse the repository at this point in the history
  • Loading branch information
feedmeapples committed Mar 22, 2022
1 parent f7ed394 commit 3ca8e1d
Show file tree
Hide file tree
Showing 50 changed files with 2 additions and 12,502 deletions.
22 changes: 0 additions & 22 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ archives:
- id: default
builds:
- temporal-server
- tctl
- temporal-cassandra-tool
- temporal-sql-tool
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
Expand All @@ -20,7 +19,6 @@ archives:
- id: no-cgo
builds:
- temporal-server-no-cgo
- tctl-no-cgo
- temporal-cassandra-tool-no-cgo
- temporal-sql-tool-no-cgo
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}_no_cgo"
Expand Down Expand Up @@ -51,26 +49,6 @@ builds:
goarch:
- amd64
- arm64
- id: tctl
dir: cmd/tools/cli
binary: tctl
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- id: tctl-no-cgo
dir: cmd/tools/cli
binary: tctl
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
- id: temporal-cassandra-tool
dir: cmd/tools/cassandra
binary: temporal-cassandra-tool
Expand Down
14 changes: 2 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Install all tools and builds binaries.
install: update-tools bins

# Rebuild binaries (used for docker builds).
bins: clean-bins temporal-server tctl plugins temporal-cassandra-tool temporal-sql-tool
# Rebuild binaries (used by Dockerfile).
bins: clean-bins temporal-server temporal-cassandra-tool temporal-sql-tool

# Install all tools, recompile proto files, run all possible checks and tests (long but comprehensive).
all: update-tools clean proto bins check test
Expand Down Expand Up @@ -171,8 +171,6 @@ copyright-proto:
##### Binaries #####
clean-bins:
@printf $(COLOR) "Delete old binaries..."
@rm -f tctl
@rm -f tctl-authorization-plugin
@rm -f temporal-server
@rm -f temporal-cassandra-tool
@rm -f temporal-sql-tool
Expand All @@ -182,14 +180,6 @@ temporal-server:
@./develop/scripts/create_build_info_data.sh
go build -o temporal-server ./cmd/server

tctl:
@printf $(COLOR) "Build tctl with CGO_ENABLED=$(CGO_ENABLED) for $(GOOS)/$(GOARCH)..."
go build -o tctl ./cmd/tools/cli

plugins:
@printf $(COLOR) "Build tctl-authorization-plugin with CGO_ENABLED=$(CGO_ENABLED) for $(GOOS)/$(GOARCH)..."
go build -o tctl-authorization-plugin ./cmd/tools/cli/plugins/authorization

temporal-cassandra-tool:
@printf $(COLOR) "Build temporal-cassandra-tool with CGO_ENABLED=$(CGO_ENABLED) for $(GOOS)/$(GOARCH)..."
go build -o temporal-cassandra-tool ./cmd/tools/cassandra
Expand Down
38 changes: 0 additions & 38 deletions cmd/tools/cli/main.go

This file was deleted.

63 changes: 0 additions & 63 deletions cmd/tools/cli/plugins/authorization/main.go

This file was deleted.

12 changes: 0 additions & 12 deletions tools/cli/README.md

This file was deleted.

97 changes: 0 additions & 97 deletions tools/cli/activity.go

This file was deleted.

Loading

0 comments on commit 3ca8e1d

Please sign in to comment.