Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make: separate phony for each target
Part of #198
  • Loading branch information
DifferentialOrange committed Nov 8, 2022
commit 2424c8298db7af1047134f69bfaa8740bde1b3e0
16 changes: 15 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
.PHONY: install test docs
.PHONY: install
install:
pip3 install --editable .


.PHONY: test
test:
python3 setup.py test

.PHONY: testdata
testdata:
cd ./test/data/; ./generate.sh

.PHONY: coverage
coverage:
python3 -m coverage run -p --source=. setup.py test

.PHONY: cov-html
cov-html:
python3 -m coverage html -i

.PHONY: cov-report
cov-report:
python3 -m coverage report


.PHONY: docs
docs:
python3 setup.py build_sphinx