From 2e5055c377424b70c74eeac3364f6e9fa3442581 Mon Sep 17 00:00:00 2001 From: Jonathan Strong Date: Thu, 8 Sep 2022 22:43:32 -0400 Subject: [PATCH] adds show-build-env command --- justfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 971cbfb..c18465a 100644 --- a/justfile +++ b/justfile @@ -68,4 +68,10 @@ release-prep: verify-clean-git pre-release release: release-prep git tag "v$(just get-crate-version)" git push && git push --tags - + +# diagnostic command for viewing value of build variables at runtime +show-build-env: + @echo "registry-backup v$(just get-crate-version)" + @echo "rustc-version={{rustc-version}}" + @echo "publish-registry={{publish-registry}}" + @env | rg RUST --color never