summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/dev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dev.sh')
-rw-r--r--scripts/dev.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/dev.sh b/scripts/dev.sh
new file mode 100644
index 0000000..be7121c
--- /dev/null
+++ b/scripts/dev.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+export HIRCINE_DEV=1
+
+tmux new-session -ds hircine -n uvicorn -- '(cd instance/ && poetry run python -m hircine.app)'
+tmux new-window -t hircine: -n lint -- 'fd . -epy src/ tests/ | entr -c sh scripts/lint.sh'
+tmux new-window -t hircine: -n docs -- 'fd . -erst -epy docs/ | entr -c make docs'
+tmux attach-session -t hircine