Skip to content

Commit

Permalink
chore: clean up makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
gene-redpanda committed Aug 17, 2024
1 parent 0e69887 commit 780c089
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ BUFCMD=buf
GOFUMPTCMD=gofumpt
GOLANGCILINTCMD=golangci-lint

.PHONY: all
all: doc lint test

.PHONY: doc
doc: tfplugindocs_install generate_docs

Expand All @@ -26,6 +23,10 @@ lint: install_gofumpt install_lint linter
.PHONY: ready
ready: doc lint tidy

# Task to both clean and generate mocks
.PHONY: mock
mock: clean-mocks generate-mocks

.PHONY: tidy
tidy:
@echo "running go mod tidy..."
Expand Down Expand Up @@ -172,7 +173,6 @@ $(shell \
)
endef

.PHONY: test-create
.PHONY: test-create
test-create: tf-init tf-apply update-cluster-info

Expand Down Expand Up @@ -278,10 +278,6 @@ clean-mocks:
@rm -f $(MOCKS_DIR)/mock_*.go
@echo "Mocks cleaned successfully."

# Task to both clean and regenerate mocks
.PHONY: refresh-mocks
refresh-mocks: clean-mocks generate-mocks

.PHONY: test_network
test_network:
@echo "Running TestAccResourcesNetwork..."
Expand Down

0 comments on commit 780c089

Please sign in to comment.