Skip to content

Commit

Permalink
Merge pull request #120 from Nitrokey/check-lint
Browse files Browse the repository at this point in the history
Rename check to lint
  • Loading branch information
sosthene-nitrokey committed Mar 2, 2023
2 parents 3876011 + 50164c0 commit eef69d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ FUZZ_DURATION?="0"
.PHONY: check
check:
cargo check --all-features --all-targets --workspace

.PHONY: lint
lint:
RUSTFLAGS='-Dwarnings' cargo check --all-features --all-targets --workspace
cargo check --no-default-features --all-targets
cargo clippy --all-features --all-targets -- --deny warnings
cargo fmt -- --check
Expand Down Expand Up @@ -57,7 +61,7 @@ tarpaulin:
cargo tarpaulin --features virtual,rsa4096-gen -o Html -o Xml

.PHONY: ci
ci: check tarpaulin
ci: lint tarpaulin

.PHONY: clean
clean:
Expand Down

0 comments on commit eef69d7

Please sign in to comment.