We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
check_core_before_commit.sh
1 parent e2c3ff3 commit bc73ca0Copy full SHA for bc73ca0
check_code_before_commit.sh
@@ -1,3 +1,4 @@
1
+#!/bin/bash
2
3
# Find unused dependencies in Cargo.toml
4
cargo +nightly udeps
@@ -6,7 +7,7 @@ cargo +nightly udeps
6
7
cargo sort
8
9
# Format code
-cargo fmt
10
+cargo +nightly fmt --all -- --check
11
12
# Clippy
-cargo +nightly clippy --all-features -- -D warnings
13
+cargo +nightly clippy --target wasm32-wasip1 --all-features -- -D warnings
0 commit comments