forked from CiscoDevNet/virl2-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
23 lines (17 loc) · 743 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.phony: export diff
# https://github.com/python-poetry/poetry/issues/3472
# https://github.com/python-poetry/poetry/issues/3160
# when resolved, we should be able to run with hashes
tests/requirements.txt: poetry.lock
poetry export --format=requirements.txt --dev --without-hashes --output=$@
clean:
rm -rf dist virl2_client.egg-info .built .pytest_cache .coverage coverage.xml
find . -depth -type f -name '*.pyc' -exec rm {} \; || true
find . -depth -type d -name '__pycache__' -exec rmdir {} \; || true
cd docs && make clean
poetry:
poetry update
export: tests/requirements.txt
@echo "exported dependencies"
diff:
diff -ruN -X.gitignore -x.github -x.git -xdist -x.pytest_cache ./ ../simple/virl2_client/ | pygmentize | less -r