refactor: Create SigningDriver and CiDriver (#197)
This also includes a new `login` command. The signing and CI logic is now using the Driver trait system along with a new experimental sigstore signing driver. New static macros have also been created to make implementation management easier for `Command` usage and `Driver` trait implementation calls. --------- Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
This commit is contained in:
parent
3ecb0d3d93
commit
8ce83ba7ff
63 changed files with 6468 additions and 2083 deletions
11
justfile
11
justfile
|
|
@ -35,11 +35,11 @@ test-all-features:
|
|||
|
||||
# Run clippy
|
||||
lint:
|
||||
cargo clippy -- -D warnings
|
||||
cargo clippy
|
||||
|
||||
# Run clippy for all features
|
||||
lint-all-features:
|
||||
cargo clippy --all-features -- -D warnings
|
||||
cargo clippy --all-features
|
||||
|
||||
# Watch the files and run cargo check on changes
|
||||
watch:
|
||||
|
|
@ -63,14 +63,17 @@ watch-test-all-features:
|
|||
|
||||
# Run lint anytime a file is changed
|
||||
watch-lint:
|
||||
cargo watch -c -x 'clippy -- -D warnings'
|
||||
cargo watch -c -x 'clippy'
|
||||
|
||||
# Run all feature lint anytime a file is changed
|
||||
watch-lint-all-features:
|
||||
cargo watch -c -x 'clippy --all-features -- -D warnings'
|
||||
cargo watch -c -x 'clippy --all-features'
|
||||
|
||||
# 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
|
||||
|
||||
# Run cargo release and push the tag separately
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue