-
Notifications
You must be signed in to change notification settings - Fork 17
/
Makefile
31 lines (23 loc) · 866 Bytes
/
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
all: install format test build changelog
documentation:
jb clean docs
jb build docs
format:
black . -l 79
install:
pip install -e .[dev]
test-country-template:
policyengine-core test policyengine_core/country_template/tests -c policyengine_core.country_template
mypy:
mypy --config-file mypy.ini policyengine_core tests
test: test-country-template
coverage run -a --branch -m pytest tests --disable-pytest-warnings
coverage xml -i
build:
python setup.py sdist bdist_wheel
changelog:
build-changelog changelog.yaml --output changelog.yaml --update-last-date --start-from 0.1.0 --append-file changelog_entry.yaml
build-changelog changelog.yaml --org PolicyEngine --repo policyengine-core --output CHANGELOG.md --template .github/changelog_template.md
bump-version changelog.yaml setup.py
rm changelog_entry.yaml || true
touch changelog_entry.yaml