Make bare just run all checks
Assisted-by: Claude Opus 4.6 via pi
change qsxqpyulpkvsrnsmvooqxnwttsyxkvlr
commit 13d2b522ab204823ac0d4aeb0a03c912ec3ccd86
author Alpha Chen <alpha@kejadlen.dev>
date
parent tmzqvluz
diff --git a/justfile b/justfile
index d7d8983..e3287b6 100644
--- a/justfile
+++ b/justfile
@@ -1,3 +1,6 @@
+# Run all checks by default
+default: all
+
 # Format all code
 fmt:
     cargo fmt --all
diff --git a/src/ops/task.rs b/src/ops/task.rs
index ed3f624..cd7c882 100644
--- a/src/ops/task.rs
+++ b/src/ops/task.rs
@@ -448,7 +448,9 @@ mod tests {
             .unwrap();
 
         // Move t3 before t1 — should produce order: t3, t1, t2
-        move_task(&pool, t3.id, bl.id, Some(t1.id), None).await.unwrap();
+        move_task(&pool, t3.id, bl.id, Some(t1.id), None)
+            .await
+            .unwrap();
 
         let tasks = list(&pool, bl.id, None).await.unwrap();
         assert_eq!(tasks[0].id, t3.id, "t3 should be first");
@@ -471,7 +473,9 @@ mod tests {
             .unwrap();
 
         // Move t1 after t3 — should produce order: t2, t3, t1
-        move_task(&pool, t1.id, bl.id, None, Some(t3.id)).await.unwrap();
+        move_task(&pool, t1.id, bl.id, None, Some(t3.id))
+            .await
+            .unwrap();
 
         let tasks = list(&pool, bl.id, None).await.unwrap();
         assert_eq!(tasks[0].id, t2.id, "t2 should be first");