Skip to content

Commit

Permalink
Remove: Makefile related gofmt & govet scripts
Browse files Browse the repository at this point in the history
Signed-off-by: tico88612 <17496418+tico88612@users.noreply.github.com>
  • Loading branch information
tico88612 committed Mar 26, 2024
1 parent 036e161 commit 1dc161f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 57 deletions.
15 changes: 2 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ help: ## Display this help
unit: ## Run tests
source ./hack/fetch_ext_bins.sh; fetch_tools; setup_envs; go test -v ./controllers/... ./ipam/... -coverprofile ./cover.out; cd $(APIS_DIR); go test -v ./... -coverprofile ./cover.out

.PHONY: test ## Run formatter, linter and tests
test: generate fmt lint unit
.PHONY: test ## Run linter and tests
test: generate lint unit

.PHONY: unit-cover
unit-cover: ## Run unit tests with code coverage
Expand Down Expand Up @@ -147,17 +147,6 @@ lint-full: $(GOLANGCI_LINT) ## Run slower linters to detect possible issues
$(GOLANGCI_LINT) run -v --fast=false
cd $(APIS_DIR); ../$(GOLANGCI_LINT) run -v --fast=false --timeout=30m

# Run go fmt against code
fmt:
go fmt ./controllers/... ./ipam/... .
cd $(APIS_DIR); go fmt ./...

# Run go vet against code
vet:
go vet ./controllers/... ./ipam/... .
cd $(APIS_DIR); go vet ./...


## --------------------------------------
## Generate
## --------------------------------------
Expand Down
22 changes: 0 additions & 22 deletions hack/gofmt.sh

This file was deleted.

22 changes: 0 additions & 22 deletions hack/govet.sh

This file was deleted.

0 comments on commit 1dc161f

Please sign in to comment.