-
-
Notifications
You must be signed in to change notification settings - Fork 457
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (23 loc) · 816 Bytes
/
Makefile
File metadata and controls
28 lines (23 loc) · 816 Bytes
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
help::
@echo "Available commands"
@echo " help -- (default) print this message"
tests: mypy pytest
help::
@echo " tests -- run all tests for supabase_functions package"
pytest:
uv run --package supabase_functions pytest --cov=./ --cov-report=xml --cov-report=html -vv
help::
@echo " pytest -- run pytest on supabase_functions package"
mypy:
uv run --package supabase_functions mypy --strict src/supabase_functions tests
help::
@echo " mypy -- run mypy on supabase_functions package"
clean:
rm -rf htmlcov .pytest_cache .mypy_cache .ruff_cache
rm -f .coverage coverage.xml
help::
@echo " clean -- clean intermediary files"
build:
uv build --package supabase_functions
help::
@echo " build -- invoke uv build on supabase_functions package"