Download:
child 156:ae3c941a4ebb
parent 154:646c6d06235f
155:eafed0b93f8e
Anton Shestakov <av6@dwimlabs.net>, Tue, 31 Oct 2017 12:09:26 +0800
Makefile: add simple targets

1 файлов изменено, 22 вставок(+), 0 удалений(-) [+]
Makefile file | annotate | diff | comparison | revisions
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile Tue Oct 31 12:09:26 2017 +0800
@@ -0,0 +1,22 @@
+pip := ./venv/bin/pip install -r REQUIREMENTS
+
+
+.PHONY: all
+all: tests
+
+.PHONY: devel
+devel: venv
+ $(pip)
+
+venv:
+ virtualenv venv
+
+venv/bin/python: | venv
+ $(pip)
+
+.PHONY: tests
+tests: venv/bin/python
+ ./venv/bin/python ./test.py
+
+.PHONY: check
+check: tests