From: Shane Jaroch Date: Tue, 16 Apr 2024 02:45:12 +0000 (-0400) Subject: add check-vars X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=abe0f4db660212a9bca036ec47791c506c12d0ba;p=nutratech%2Fusda-sqlite.git add check-vars --- diff --git a/Makefile b/Makefile index d9afdff..62b58db 100644 --- a/Makefile +++ b/Makefile @@ -96,6 +96,14 @@ clean: ## Clean up leftover bits and stuff from build rm -f sql/*.sqlite rm -f sql/*.sqlite3 +.PHONY: check-vars +check-vars: ## display all computed vars (won't show passed in) + $(info --vars--) + $(foreach v, \ + $(filter-out $(FILTERED_VARS) FILTERED_VARS,$(.VARIABLES)), \ + $(info $(v) = $($(v)))) + @printf '' + .PHONY: extras/cloc extras/cloc: cloc HEAD --exclude-dir=usda.svg