chore(ci): add command to fmt testdata terraform files (#1042)
This commit is contained in:
parent
4552b14edd
commit
a81b7d49e7
9 changed files with 46 additions and 46 deletions
6
Makefile
6
Makefile
|
|
@ -14,8 +14,8 @@ lint-golangci-lint:
|
|||
@$(SCRIPTS_BASE)/lint-golangci-lint.sh
|
||||
|
||||
lint-tf:
|
||||
@echo "Linting examples"
|
||||
@terraform fmt -check -diff -recursive examples
|
||||
@echo "Linting terraform files"
|
||||
@terraform fmt -check -diff -recursive
|
||||
|
||||
lint: lint-golangci-lint lint-tf
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ build:
|
|||
fmt:
|
||||
@gofmt -s -w .
|
||||
@go tool goimports -w .
|
||||
@cd $(ROOT_DIR)/examples && terraform fmt -recursive && cd $(ROOT_DIR)
|
||||
@terraform fmt -diff -recursive
|
||||
|
||||
# TEST
|
||||
test:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue