-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
48 lines (41 loc) · 1.01 KB
/
Taskfile.yml
File metadata and controls
48 lines (41 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: "3"
vars:
SRC_DIR: src
TEST_DIR: tests
FILES: '{{.CLI_ARGS | default (print .SRC_DIR " " .TEST_DIR)}}'
includes:
format:
taskfile: .taskfiles/format.yml
lint:
taskfile: .taskfiles/lint.yml
vars:
FILES: "{{.CLI_ARGS}}"
test:
taskfile: .taskfiles/test.yml
typecheck:
taskfile: .taskfiles/typecheck.yml
deploy:
taskfile: .taskfiles/deploy.yml
tasks:
default:
desc: Show available tasks
cmds:
- task --list
install:
desc: Install dependencies with uv
cmds:
- uv sync
dev:
desc: Run FastAPI gateway in development mode
cmds:
- uv run uvicorn mycontextprotocol.gateway:app --reload --host 0.0.0.0 --port 8000
clean:
desc: Clean build artifacts and caches
cmds:
- rm -rf .pytest_cache .coverage htmlcov .ruff_cache
- find . -type d -name __pycache__ -exec rm -rf {} +
- find . -type f -name "*.pyc" -delete
help:
desc: Show comprehensive development guide
cmds:
- cat DEVELOPMENT.md