You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go install github.com/hashicorp/hcl/v2/cmd/hclfmt@d0c4fa8b0bbc2e4eeccd1ed2a32c2089ed8c5cf1
45
45
@echo "==> Done"
46
46
47
47
pkg/%/nomad-autoscaler: GO_OUT ?= $@
@@ -91,7 +91,7 @@ hclfmt: ## Format HCL files with hclfmt
91
91
@if (git status -s | grep -q -e '\.hcl$$' -e '\.nomad$$' -e '\.tf$$');thenecho the following HCL files are out of sync; git status -s | grep -e '\.hcl$$' -e '\.nomad$$' -e '\.tf$$';exit 1;fi
92
92
93
93
.PHONY: check
94
-
check: tools check-sdk check-tools-mod check-root-mod check-protobuf ## Lint the source code and check other properties
94
+
check: tools check-sdk check-root-mod check-protobuf ## Lint the source code and check other properties
95
95
96
96
.PHONY: check-sdk
97
97
check-sdk: ## Checks the SDK pkg is isolated
@@ -112,17 +112,6 @@ check-root-mod: ## Checks the root Go mod is tidy
112
112
exit 1;fi
113
113
@echo "==> Done"
114
114
115
-
.PHONY: check-tools-mod
116
-
check-tools-mod: ## Checks the tools Go mod is tidy
117
-
@echo "==> Checking tools Go mod and Go sum..."
118
-
@cd tools && go mod tidy
119
-
@if (git status --porcelain | grep -Eq "go\.(mod|sum)");then\
120
-
echo tools go.mod or go.sum needs updating;\
121
-
git --no-pager diff go.mod;\
122
-
git --no-pager diff go.sum;\
123
-
exit 1;fi
124
-
@echo "==> Done"
125
-
126
115
.PHONY: check-protobuf
127
116
check-protobuf: ## Checks the protobuf files are in-sync
0 commit comments