blob: dc25faaf802ba3d338d4dd6cf610f5618410bd28 (
plain) (
blame)
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
|
.PHONY: test build minorbump publish install clean
venv/bin/tt: src/timetracker/*.py venv
. venv/bin/activate && \
python -m pip install -e .[dev]
venv: pyproject.toml
python3 -m venv venv
build: venv
. venv/bin/activate && \
python -m pip install build twine && \
python -m build && \
python -m twine check dist/*
minorbump:
. venv/bin/activate && \
bumpver update --patch
publish: minorbump build
. venv/bin/activate && \
twine upload dist/*
install: venv
python -m pip install .
clean:
rm -rf venv
rm -rf dist
test:
. venv/bin/activate && \
black --check src && \
mypy src/ && \
pyflakes src/ && \
./tests/test_macro_processor.sh && \
./tests/test_skaldpress.sh
|