Download:
child 328:b0a5ebd86bba
parent 326:8103caf34149
327:8fc9170554d1
Anton Shestakov <av6@dwimlabs.net>, Tue, 28 Nov 2017 12:14:11 +0800
Makefile: add simple targets

1 файлов изменено, 27 вставок(+), 0 удалений(-) [+]
Makefile file | annotate | diff | comparison | revisions
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile Tue Nov 28 12:14:11 2017 +0800
@@ -0,0 +1,27 @@
+pip := ./venv/bin/pip install -r requirements.txt -r dev-requirements.txt
+
+.PHONY: all
+all: venv/bin/python
+
+.PHONY: devel
+devel: venv
+ $(pip)
+
+venv:
+ virtualenv venv
+
+venv/bin/python: | venv
+ $(pip)
+
+.PHONY: tests
+tests: venv/bin/python
+ ./venv/bin/python ./run-tests.py -v \
+ --cov-report=term \
+ --cov=candolint \
+ --cov=incoming \
+ --cov=viewer \
+ --cov=checker \
+ --cov=hooks-queue
+
+.PHONY: check
+check: tests