forked from PolicyEngine/policyengine-uk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (21 loc) · 782 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
all: install
pip install wheel
python setup.py sdist bdist_wheel
install:
pip install -e .[dev]
pip install --upgrade jsonschema[format-nongpl]
format:
black . -l 79
test:
policyengine-core test policyengine_uk/tests/policy -c policyengine_uk
pytest policyengine_uk/tests/
documentation:
jb clean docs/book
jb build docs/book
python policyengine_uk/tools/add_plotly_to_book.py docs/book/_build
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 openfisca-uk --output CHANGELOG.md --template .github/changelog_template.md
bump-version changelog.yaml setup.py
rm changelog_entry.yaml || true
touch changelog_entry.yaml