Debian Codegraph @

Makefile

raw symbols SCIP
1 # This file is part of convertdate.
2 # http://github.com/fitnr/convertdate
3
4 # Licensed under the MIT license:
5 # http://opensource.org/licenses/MIT
6 # Copyright (c) 2016, fitnr <fitnr@fakeisthenewreal>
7
8 .PHONY: all htmlcov test deploy format
9 all:
10
11 htmlcov: | test
12 python -m coverage html
13
14 test:
15 python -m unittest
16
17 pylint:
18 pylint convertdate/ tests
19
20 cov:
21 python -m coverage run --branch --source=convertdate -m unittest
22 python -m coverage report
23
24 format:
25 black src/ tests/
26 isort src/convertdate/*.py src/convertdate/data/*.py tests/*.py
27
28 deploy:
29 rm -rf dist build
30 python -m build
31 twine upload dist/*
32 git push; git push --tags