summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/dev.sh
diff options
context:
space:
mode:
authorWolfgang Müller2024-03-05 18:08:09 +0100
committerWolfgang Müller2024-03-05 19:25:59 +0100
commitd1d654ebac2d51e3841675faeb56480e440f622f (patch)
tree56ef123c1a15a10dfd90836e4038e27efde950c6 /scripts/dev.sh
downloadhircine-d1d654ebac2d51e3841675faeb56480e440f622f.tar.gz
Initial commit0.1.0
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