aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-03-23 00:36:52 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-03-27 21:37:05 +0300
commita57b97285c3308fbdcc167ab3da9ae1dd78767b6 (patch)
tree25a0eb4df100ea9b09c7551fa7cc25f8d86027ef /justfile
initial release
terminal workspace manager for AI coding agents. single rust binary, runs inside your existing terminal. workspaces, tiled panes, intelligent agent state detection. https://herdr.dev
Diffstat (limited to 'justfile')
-rw-r--r--justfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100644
index 00000000..3700b040
--- /dev/null
+++ b/justfile
@@ -0,0 +1,29 @@
+# herdr task runner
+
+# Run unit tests
+test:
+ cargo test
+
+# Run integration tests (LLM-based, requires pi + tmux)
+test-integration:
+ ./tests/integration/run_all.sh
+
+# Run all tests
+test-all: test test-integration
+
+# Build release binary
+build:
+ cargo build --release
+
+# Kill any leftover test tmux sessions and clean results
+clean-tests:
+ @for sock in ${TMPDIR:-/tmp}/herdr-test-sockets/*/tmux.sock; do \
+ [ -S "$$sock" ] && tmux -S "$$sock" kill-server 2>/dev/null || true; \
+ done
+ @rm -rf ${TMPDIR:-/tmp}/herdr-test-sockets 2>/dev/null || true
+ @rm -f tests/integration/results/*.json tests/integration/results/*.txt 2>/dev/null || true
+ @echo "cleaned"
+
+# Print default config
+default-config:
+ cargo run --release -- --default-config