From a5056cad890acb56c5e0418c05d7e49545388402 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Wed, 8 Nov 2023 16:13:29 +0100 Subject: [PATCH] chore(Makefile): enforce SPDX license header in Makefile `fmt` target. Signed-off-by: Federico Di Pierro --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5311850b..18c8c67d 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ fmt: gci addlicense go mod tidy go fmt ./... find . -type f -name '*.go' -a -exec $(GCI) write -s standard -s default -s "prefix(github.com/falcosecurity/falcoctl)" {} \; - find . -type f -name '*.go' -exec $(ADDLICENSE) -l apache -c "The Falco Authors" -y "$(shell date +%Y)" {} \; + find . -type f -name '*.go' -exec $(ADDLICENSE) -l apache -s -c "The Falco Authors" -y "$(shell date +%Y)" {} \; # Install golangci-lint if not available .PHONY: golangci-lint