forked from MiraGeoscience/omf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (22 loc) · 675 Bytes
/
Makefile
File metadata and controls
32 lines (22 loc) · 675 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
27
28
29
30
31
32
PACKAGE_NAME=omf
.PHONY: install publish docs coverage lint lint-html graphs test-docs tests
install:
python setup.py install
publish:
python setup.py sdist upload
docs:
cd docs && make html
coverage:
nosetests --logging-level=INFO --with-coverage --cover-package=$(PACKAGE_NAME) --cover-html
open cover/index.html
lint:
pylint $(PACKAGE_NAME)
lint-html:
pylint --output-format=html $(PACKAGE_NAME) > pylint.html
graphs:
pyreverse -my -A -o pdf -p $(PACKAGE_NAME) $(PACKAGE_NAME)/**.py $(PACKAGE_NAME)/**/**.py
test-docs:
nosetests --logging-level=INFO docs
tests:
nosetests --logging-level=INFO --with-coverage --cover-package=$(PACKAGE_NAME)
make lint