summaryrefslogtreecommitdiff
path: root/check_all.sh
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-04-06 16:01:00 +0800
committer魏曹先生 <1992414357@qq.com>2026-04-06 16:01:00 +0800
commit2fe5dbd9a3e71da6cf8d3ef500a54411e23a8514 (patch)
tree3472c12b87eaa260775a662d874385e7012c079d /check_all.sh
parent9f8307ad9b0f1ce8301698277d2b8ab169ea5f7f (diff)
Add check_all script and simplify attribute parsing
Diffstat (limited to 'check_all.sh')
-rwxr-xr-xcheck_all.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/check_all.sh b/check_all.sh
new file mode 100755
index 0000000..3ab7d9e
--- /dev/null
+++ b/check_all.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+# Change to the directory where the script is located
+cd "$(dirname "$0")"
+
+# Run cargo clippy in mingling_core
+cd mingling_core
+cargo clippy --fix --allow-dirty
+cd ..
+
+# Run cargo clippy in mingling_macros
+cd mingling_macros
+cargo clippy --fix --allow-dirty
+cd ..
+
+# Run cargo clippy in mingling
+cd mingling
+cargo clippy --fix --allow-dirty
+cd ..