diff options
author | Kir Kolyshkin <kolyshkin@gmail.com> | 2022-04-13 17:40:17 -0700 |
---|---|---|
committer | Kir Kolyshkin <kolyshkin@gmail.com> | 2022-05-17 13:41:54 -0700 |
commit | d49efde27e577708bf5a7ea8aa686099717ae41b (patch) | |
tree | 03e6fbf440fe25ed08d5c3695995e75e3db96526 /Makefile | |
parent | 9bf81814a2a5fb4ecda9856d32e6cbd0f8f83644 (diff) | |
download | podman-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-- | Makefile | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -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: |