chore: add make style target for gofmt formatting

This commit is contained in:
grdddj 2024-10-15 12:07:16 +02:00 committed by Martin
parent d6aaa09e06
commit 04a5d8d95d

View File

@ -4,7 +4,7 @@ PACKAGER = $(shell id -u):$(shell id -g)
DOCKER_VERSION = $(shell docker version --format '{{.Client.Version}}')
BASE_IMAGE = $$(awk -F= '$$1=="ID" { print $$2 ;}' /etc/os-release):$$(awk -F= '$$1=="VERSION_ID" { print $$2 ;}' /etc/os-release | tr -d '"')
NO_CACHE = false
TCMALLOC =
TCMALLOC =
PORTABLE = 0
ARGS ?=
@ -80,3 +80,6 @@ clean-bin-image:
clean-deb-image:
- docker rmi $(DEB_IMAGE)
style:
find . -name "*.go" -exec gofmt -w {} \;