mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-15 05:40:47 +08:00
14 lines
293 B
Bash
Executable File
14 lines
293 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if ! command -v "cargo-make" >/dev/null 2>&1; then
|
|
echo "❌ cargo-make is required for pre-commit checks."
|
|
cargo install --force cargo-make
|
|
fi
|
|
|
|
if ! command -v pnpm >/dev/null 2>&1; then
|
|
echo "❌ pnpm is required for pre-commit checks."
|
|
exit 1
|
|
fi
|
|
|
|
cargo make pre-commit
|