Skip to content

Commit

Permalink
chore: Add expand.rs to .gitignore for debugging macros
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpinder committed Sep 21, 2024
1 parent de45aeb commit aed7e27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ cosign.key
# Local testing for bluebuild recipe files
/config/*
/Containerfile
/expand.rs
6 changes: 5 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit aed7e27

Please sign in to comment.