build: add lint target
ober
e05ecc48f640663626060a7bfc089810de9cbb03
--- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ SBOM_DIR ?= dist/sbom REPRO_DIR ?= dist/reproducibility TARGET_EVIDENCE_DIR ?= dist/target-evidence -.PHONY: all build binary test test-parser parser-corpus test-cli-policy import-check clean-generated security audit verify sbom reproducibility-report target-evidence release-evidence clean install +.PHONY: all build binary test test-parser parser-corpus test-cli-policy import-check clean-generated security audit verify sbom reproducibility-report target-evidence release-evidence clean install lint all: binary @@ -66,6 +66,8 @@ test: test-parser binary $(MAKE) test-cli-policy @echo "All tests passed." +lint: import-check + import-check: @$(JEXEC) support/import-check.ss