Обновить Makefile.rust
This commit is contained in:
@@ -2,11 +2,13 @@ CARGO := cargo
|
|||||||
|
|
||||||
.PHONY: setup full-lint
|
.PHONY: setup full-lint
|
||||||
|
|
||||||
|
# Установить "maturin", "cargo-deny", "cargo-audit", "taplo-cli", "cross"
|
||||||
setup:
|
setup:
|
||||||
@echo "Installing Rust components and tools..."
|
@echo "Installing Rust components and tools..."
|
||||||
rustup component add clippy rustfmt
|
rustup component add clippy rustfmt
|
||||||
$(CARGO) install maturin cargo-deny cargo-audit taplo-cli cross --locked
|
$(CARGO) install maturin cargo-deny cargo-audit taplo-cli cross --locked
|
||||||
|
|
||||||
|
# Провести все проверки по коду
|
||||||
full-lint:
|
full-lint:
|
||||||
@echo "Running rustfmt..."
|
@echo "Running rustfmt..."
|
||||||
$(CARGO) fmt --all -- --check
|
$(CARGO) fmt --all -- --check
|
||||||
|
|||||||
Reference in New Issue
Block a user