From aed7e275f27611fc94f02d6b703c0b6b9d43e88f Mon Sep 17 00:00:00 2001 From: Gerald Pinder Date: Sat, 21 Sep 2024 10:46:17 -0400 Subject: [PATCH] chore: Add expand.rs to .gitignore for debugging macros --- .gitignore | 1 + justfile | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 39039fa2..1ad22d54 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ cosign.key # Local testing for bluebuild recipe files /config/* /Containerfile +/expand.rs diff --git a/justfile b/justfile index b92ba679..f6242894 100644 --- a/justfile +++ b/justfile @@ -69,12 +69,16 @@ watch-lint: watch-lint-all-features: cargo watch -c -x 'clippy --all-features' +expand *args: + cargo expand $@ > ./expand.rs + echo "Expansion located in ./expand.rs" + # Installs cargo tools that help with development tools: rustup toolchain install stable rustup override set stable rustup component add --toolchain stable rust-analyzer clippy rustfmt - cargo install cargo-watch + cargo install cargo-watch cargo-expand # Run cargo release and push the tag separately release *args: