forked from djmoch/nncli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
52 lines (36 loc) · 774 Bytes
/
Copy pathMakefile
File metadata and controls
52 lines (36 loc) · 774 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.POSIX:
.PHONY: clean clean-test clean-pycache clean-build help lint coverage coverage-html release dist install run debug docs
dist:
flit build
clean: clean-build clean-pycache clean-test
make -C docs clean
clean-build:
rm -fr dist/
clean-pycache:
find . -name '__pycache__' -exec rm -fr {} +
clean-test:
rm -f .coverage
rm -fr htmlcov/
rm -fr .pytest_cache
rm -fr .tox
lint:
pylint nncli tests --disable=parse-error
vulture nncli .vulture_whitelist.py
test:
python -m pytest
test-all:
tox
coverage:
python -m pytest --cov=nncli
coverage-html: coverage
coverage html
release: dist
twine upload -s dist/*
docs:
make -C docs html man
install:
flit install --deps=none
run:
python -m nncli $(cmd)
debug: install
pudb3 $$(which nncli) $(cmd)