File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,18 @@ lintcheck:
4747 @echo " ==> Checking source code against linters..."
4848 golangci-lint run ./...
4949
50+ tf-provider-lint :
51+ @branch=$$(git rev-parse --abbrev-ref HEAD ) ; \
52+ printf " ==> Running TF provider lint on branch: \033[1m%s\033[0m...\n" " 🌿 $$ branch 🌿" ;
53+ tfproviderlintx \
54+ -AT001=false \
55+ -AT003=false \
56+ -AT006=false \
57+ -XAT001=false \
58+ -XR003=false \
59+ -XS002=false \
60+ $(TEST )
61+
5062test :
5163 @branch=$$(git rev-parse --abbrev-ref HEAD ) ; \
5264 printf " ==> Running unit tests on branch: \033[1m%s\033[0m...\n" " 🌿 $$ branch 🌿"
@@ -85,4 +97,4 @@ ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
8597endif
8698 @$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider-test PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME)
8799
88- .PHONY : build test testacc fmt lint lintcheck tools website website-lint website-test sweep
100+ .PHONY : build test testacc fmt lint lintcheck tools website website-lint website-test sweep tf-provider-lint
You can’t perform that action at this time.
0 commit comments