Skip to content

Commit d1372bc

Browse files
committed
Add validate-json-yaml target to Makefile lint
1 parent 14b5c83 commit d1372bc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,12 @@ licensecheck:
5555

5656
#? lint: Run all the linters
5757
.PHONY: lint
58-
lint: licensecheck go-lint
58+
lint: licensecheck go-lint validate-json-yaml
59+
60+
#? validate-json-yaml: Validate JSON and YAML files
61+
.PHONY: validate-json-yaml
62+
validate-json-yaml:
63+
bash scripts/validate-json-yaml.sh
5964

6065
#? crd: Generates CRD using controller-gen and copy it into chart
6166
.PHONY: crd

0 commit comments

Comments
 (0)