forked from pymetrics/audit-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (27 loc) · 734 Bytes
/
Makefile
File metadata and controls
39 lines (27 loc) · 734 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
SHELL := /bin/bash
build:
pip install -e .
dev:
pip install -e ".[dev]"
test:
python setup.py test
lint:
flake8 ./auditai
coverage:
coverage run --source auditai setup.py test
coverage report
covhtml:
coverage html
open ./htmlcov/index.html
clean:
@rm -Rf *.egg-info .eggs .tox build dist htmlcov .coverage
@find ./ -depth -type d -name __pycache__ -exec rm -Rf {} \;
@find ./ -type f \( -iname \*.pyc -o -iname \*.pyo -o -iname \*~ \) -delete
test-all: coverage lint
pubdev: clean
python setup.py bdist_wheel
twine upload --repository testpypi dist/*
publish: clean
python setup.py bdist_wheel
twine upload --repository pypi dist/*
.PHONY: build dev test lint coverage covhtml clean test-all pubdev publish