Skip to content

Commit

Permalink
chore(Makefile): remove fmt target [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
bartventer committed May 9, 2024
1 parent 2d577e1 commit 703a095
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ DEPS_SCRIPT := ./internal/testing/start_local_deps.sh

# Commands
GO := go
GOFMT := gofmt
GOLANGCILINT := golangci-lint
GOTEST := $(GO) test
GOCOVER := $(GO) tool cover

# Flags
GOFLAGS := -v
GOFMTFLAGS := -s
GOLANGCILINTFLAGS := run --verbose
ifeq ($(CI),)
GOLANGCILINTFLAGS += --fix --color always
Expand Down Expand Up @@ -51,10 +49,6 @@ print-%: ## Helper target to print a variable. Usage: make print-VARIABLE
.PHONY: all
all: build test ## Run all targets

.PHONY: fmt
fmt: ## Run gofmt on all files
$(GOFMT) $(GOFMTFLAGS) -w .

.PHONY: lint
lint: ## Run golint on all files
$(GOLANGCILINT) $(GOLANGCILINTFLAGS) ./...
Expand Down

0 comments on commit 703a095

Please sign in to comment.