Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions utils.mk
Original file line number Diff line number Diff line change
Expand Up @@ -181,16 +181,9 @@ CWD := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
standard_rust_check:
@echo "standard rust check..."
cargo fmt -- --check
cargo clippy --all-targets --all-features --release \
cargo clippy --all-targets --all-features --release --locked \
-- \
-D warnings
cargo check
@DIFF=$$(git diff HEAD); \
if [ -n "$$DIFF" ]; then \
echo "ERROR: cargo check resulted in uncommited changes"; \
echo "$$DIFF"; \
exit 1; \
fi

# Install a file (full version).
#
Expand Down
Loading