Skip to content

Commit

Permalink
Include Taskfile (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
No767 authored Oct 22, 2024
1 parent 50dcfaa commit 9095770
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions taskfile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: '3'

tasks:
dev-up:
preconditions:
- test -f docker/docker-compose.dev.yml
cmds:
- docker compose -f docker/docker-compose.dev.yml up -d

dev-stop:
preconditions:
- test -f docker/docker-compose.dev.yml
cmds:
- docker compose -f docker/docker-compose.dev.yml stop

start:
preconditions:
- test -f server/config.yml
cmds:
- python3 server/launcher.py --no-workers
silent: true

check:
cmds:
- pyright server
- ruff check server --fix --exit-non-zero-on-fix --config pyproject.toml
silent: true

fmt:
cmds:
- ruff format server --config pyproject.toml
silent: true

0 comments on commit 9095770

Please sign in to comment.