forked from hungpham2511/toppra
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (21 loc) · 666 Bytes
/
Makefile
File metadata and controls
26 lines (21 loc) · 666 Bytes
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
lint:
python -m pylint --rcfile=.pylintrc toppra
pycodestyle toppra --max-line-length=120 --ignore=E731,W503
pydocstyle toppra
DOC:
echo "Buidling toppra docs"
sphinx-build -b html docs/source docs/build
gen-tags:
ctags -Re --exclude='.tox' --exclude='venv' --exclude='docs' --exclude=='dist' .
coverage:
python -m pytest -q --cov-report term --cov-report xml --cov=toppra tests
# todos before publishing:
# - increment version in setup.py
# - increment version in doc
# - create a new release to master
# - run publish on master
publish:
pip install 'twine>=1.5.0'
python setup.py sdist
twine upload dist/*
rm -fr build dist .egg requests.egg-info