Skip to content

Commit 1db6c5e

Browse files
jagalindoclaude
andcommitted
build: add Makefile with standard targets for flamapy-dev tooling
flamapy-dev 'make test/lint/mypy' failed here because the repo had no Makefile. Add one following the sibling repos' convention, adapted to this repo's layout (app.py + flamapy namespace package). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent d35bd92 commit 1db6c5e

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Makefile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.ONESHELL:
2+
3+
.PHONY: build
4+
build:
5+
rm -rf dist
6+
python -m build
7+
8+
upload-testpypi:
9+
python3 -m twine upload --repository testpypi dist/*
10+
11+
upload-pypi:
12+
python3 -m twine upload --repository pypi dist/*
13+
14+
lint:
15+
ruff check .
16+
17+
mypy:
18+
mypy app.py flamapy
19+
20+
test:
21+
python -m pytest -sv
22+
23+
cov:
24+
coverage run --source=flamapy,app -m pytest
25+
coverage report
26+
coverage html
27+
28+
start:
29+
./start-server.sh

0 commit comments

Comments
 (0)