mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-04 19:27:33 +08:00
14 lines
269 B
Bash
14 lines
269 B
Bash
#!/bin/bash
|
|
|
|
# 运行 clippy
|
|
# cargo clippy --manifest-path ./src-tauri/Cargo.toml --fix
|
|
|
|
# 如果 clippy 失败,阻止 push
|
|
# if [ $? -ne 0 ]; then
|
|
# echo "Clippy found issues in sub_crate. Please fix them before pushing."
|
|
# exit 1
|
|
# fi
|
|
|
|
# 允许 push
|
|
exit 0
|