Files
clash-verge-rev/.husky/pre-commit
T

16 lines
275 B
Bash
Raw Normal View History

2025-03-13 12:51:20 +08:00
#!/bin/bash
#pnpm pretty-quick --staged
2025-03-13 12:51:20 +08:00
# 运行 clippy fmt
#cargo fmt --manifest-path ./src-tauri/Cargo.toml
2025-03-13 12:51:20 +08:00
# if [ $? -ne 0 ]; then
# echo "rustfmt failed to format the code. Please fix the issues and try again."
# exit 1
# fi
2025-03-13 12:51:20 +08:00
#git add .
2025-03-13 12:51:20 +08:00
# 允许提交
exit 0