summaryrefslogblamecommitdiffstatshomepage
path: root/scripts/dev.sh
blob: be7121ccaed39b190d36392d0b41a4027f8ddbc8 (plain) (tree)
1
2
3
4
5
6
7
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