mirror of
https://github.com/ajeetdsouza/zoxide.git
synced 2026-09-27 17:55:50 -04:00
Add tests for completions (#204)
This commit is contained in:
@@ -11,7 +11,7 @@ endif
|
||||
.PHONY: build clean install test uninstall
|
||||
|
||||
build:
|
||||
cargo build --release $(ci_color_always)
|
||||
cargo build $(ci_color_always)
|
||||
|
||||
clean:
|
||||
cargo clean $(ci_color_always)
|
||||
@@ -22,16 +22,16 @@ install:
|
||||
ifeq ($(NIX), true)
|
||||
test:
|
||||
nix-shell --pure --run 'cargo fmt -- --check --files-with-diff $(ci_color_always)'
|
||||
nix-shell --pure --run 'cargo check --all-features --release $(ci_color_always)'
|
||||
nix-shell --pure --run 'cargo clippy --all-features --release $(ci_color_always) -- --deny warnings --deny clippy::all'
|
||||
nix-shell --pure --run 'cargo test --all-features --no-fail-fast --release $(ci_color_always)'
|
||||
nix-shell --pure --run 'cargo check --all-features $(ci_color_always)'
|
||||
nix-shell --pure --run 'cargo clippy --all-features $(ci_color_always) -- --deny warnings --deny clippy::all'
|
||||
nix-shell --pure --run 'cargo test --all-features --no-fail-fast $(ci_color_always)'
|
||||
nix-shell --pure --run 'cargo audit --deny warnings $(ci_color_always) --ignore=RUSTSEC-2020-0095'
|
||||
else
|
||||
test:
|
||||
cargo fmt -- --check --files-with-diff $(ci_color_always)
|
||||
cargo check --all-features --release $(ci_color_always)
|
||||
cargo clippy --all-features --release $(ci_color_always) -- --deny warnings --deny clippy::all
|
||||
cargo test --no-fail-fast --release $(ci_color_always)
|
||||
cargo check --all-features $(ci_color_always)
|
||||
cargo clippy --all-features $(ci_color_always) -- --deny warnings --deny clippy::all
|
||||
cargo test --no-fail-fast $(ci_color_always)
|
||||
cargo audit --deny warnings $(ci_color_always) --ignore=RUSTSEC-2020-0095
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user