Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffLIrion committed Feb 17, 2020
1 parent 36563f4 commit 23eaadb
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
.PHONY: release
release:
rm -rf dist
scripts/git_tag.sh
python setup.py sdist bdist_wheel
twine upload dist/*

.PHONY: docs
docs:
rm -rf docs/build/html
@cd docs && sphinx-apidoc -f -e -o source/ ../graphslam/
@cd docs && make html && make html

.PHONY: doxygen
doxygen:
rm -rf docs/html
doxygen Doxyfile

.PHONY: test
test:
python setup.py test
Expand All @@ -23,8 +25,8 @@ tdd:

.PHONY: lint
lint:
flake8 graphslam/ && pylint graphslam/
flake8 graphslam/ && pylint graphslam/ && flake8 tests/ && pylint tests/

.PHONY: alltests
alltests:
flake8 graphslam/ && pylint graphslam/ && coverage run --source graphslam setup.py test && coverage report -m
flake8 graphslam/ && pylint graphslam/ && flake8 tests/ && pylint tests/ && coverage run --source graphslam setup.py test && coverage report -m

0 comments on commit 23eaadb

Please sign in to comment.