mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-28 07:14:40 +08:00
* feat: implement pre-push checks using cargo make and add Makefile.toml for task management * feat: enhance Makefile.toml with condition checks for tasks and improve clippy args * fix: update file patterns for format-check task in Makefile.toml * feat: update file patterns for eslint and typecheck tasks in Makefile.toml * feat: refactor Makefile.toml to consolidate Rust tasks and update pre-commit checks * feat: update Makefile.toml to add i18n-check and lint-staged tasks; modify pre-commit script * feat: update Makefile.toml to add i18n-check and lint-staged tasks; modify pre-commit script * refactor: simplify Makefile.toml by removing unused conditions and consolidating dependencies * feat: update Makefile.toml to define Rust and frontend tasks for pre-commit and pre-push checks * chore: remove unnecessary tasks * chore: add windows override * chore: remove format and format-check --------- Co-authored-by: Slinetrac <realakayuki@gmail.com>
10 lines
198 B
Bash
10 lines
198 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
if ! command -v "cargo-make" >/dev/null 2>&1; then
|
|
echo "❌ cargo-make is required for pre-push checks."
|
|
cargo install --force cargo-make
|
|
fi
|
|
|
|
cargo make pre-push
|