-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
70 lines (51 loc) · 1.28 KB
/
Makefile
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.PHONY: install install-dev format lint test commit bump changelog release
# ================================================
# MARK: Dev commands
# ================================================
install:
uv pip install -e .
install-dev:
uv pip install -e ".[dev]"
format:
ruff format .
ruff check . --fix
lint:
ruff check .
mypy .
test:
pytest
# ================================================
# MARK: Commitizen commands
# ================================================
commit:
cz commit
bump:
cz bump
changelog:
cz changelog
release:
# Ensure everything is clean and tested
make lint
make test
# Update version and changelog
cz bump --changelog
# Push changes
git push
git push --tags
# ================================================
# MARK: Example runners
# ================================================
run-calculator-example:
python -m examples.calculator.run
run-context-variables-example:
python -m examples.context_variables.run
run-mobile-app-example:
python -m examples.mobile_app.run
run-parallel-research-example:
python -m examples.parallel_research.run
run-repl-example:
python -m examples.repl.run
run-software-team-example:
python -m examples.software_team.run
run-structured-outputs-example:
python -m examples.structured_outputs.run