summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2022-04-13 17:40:17 -0700
committerKir Kolyshkin <kolyshkin@gmail.com>2022-05-17 13:41:54 -0700
commitd49efde27e577708bf5a7ea8aa686099717ae41b (patch)
tree03e6fbf440fe25ed08d5c3695995e75e3db96526 /Makefile
parent9bf81814a2a5fb4ecda9856d32e6cbd0f8f83644 (diff)
downloadpodman-d49efde27e577708bf5a7ea8aa686099717ae41b.tar.gz
podman-d49efde27e577708bf5a7ea8aa686099717ae41b.tar.bz2
podman-d49efde27e577708bf5a7ea8aa686099717ae41b.zip
Makefile: rm gofmt target
It is superceded by golangci-lint, which has gofmt as one of the linters. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 1 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index b0b3dd5f4..63d1342b8 100644
--- a/Makefile
+++ b/Makefile
@@ -221,18 +221,6 @@ endif
golangci-lint: .install.golangci-lint
hack/golangci-lint.sh run
-.PHONY: gofmt
-gofmt: ## Verify the source code gofmt
- find . -name '*.go' -type f \
- -not \( \
- -name '.golangci.yml' -o \
- -name 'Makefile' -o \
- -path './vendor/*' -prune -o \
- -path './test/tools/vendor/*' -prune -o \
- -path './contrib/*' -prune \
- \) -exec gofmt -d -e -s -w {} \+
- git diff --exit-code
-
.PHONY: test/checkseccomp/checkseccomp
test/checkseccomp/checkseccomp: $(wildcard test/checkseccomp/*.go)
$(GOCMD) build $(BUILDFLAGS) $(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' -tags "$(BUILDTAGS)" -o $@ ./test/checkseccomp
@@ -257,7 +245,7 @@ codespell:
codespell -S bin,vendor,.git,go.sum,.cirrus.yml,"RELEASE_NOTES.md,*.xz,*.gz,*.ps1,*.tar,swagger.yaml,*.tgz,bin2img,*ico,*.png,*.1,*.5,copyimg,*.orig,apidoc.go" -L uint,iff,od,seeked,splitted,marge,ERRO,hist,ether -w
.PHONY: validate
-validate: gofmt lint .gitvalidation validate.completions man-page-check swagger-check tests-included tests-expect-exit
+validate: lint .gitvalidation validate.completions man-page-check swagger-check tests-included tests-expect-exit
.PHONY: build-all-new-commits
build-all-new-commits: