From f80f198075b39a6757c8d62be40fe487b2e552a2 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Fri, 1 Dec 2023 12:59:39 +0000 Subject: [PATCH] chore(Makefile): exclude .terraform directories --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1240bb57b1eab..d16263b517ea1 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ endif # Note, all find statements should be written with `.` or `./path` as # the search path so that these exclusions match. FIND_EXCLUSIONS= \ - -not \( \( -path '*/.git/*' -o -path './build/*' -o -path './vendor/*' -o -path './.coderv2/*' -o -path '*/node_modules/*' -o -path '*/out/*' -o -path './coderd/apidoc/*' -o -path '*/.next/*' \) -prune \) + -not \( \( -path '*/.git/*' -o -path './build/*' -o -path './vendor/*' -o -path './.coderv2/*' -o -path '*/node_modules/*' -o -path '*/out/*' -o -path './coderd/apidoc/*' -o -path '*/.next/*' -o -path '*/.terraform/*' \) -prune \) # Source files used for make targets, evaluated on use. GO_SRC_FILES := $(shell find . $(FIND_EXCLUSIONS) -type f -name '*.go' -not -name '*_test.go') # All the shell files in the repo, excluding ignored files.