# HG changeset patch # User Anton Shestakov <av6@dwimlabs.net> # Date 1509422966 -28800 # Node ID eafed0b93f8e8673b713ab489df80239c8bd58f6 # Parent 646c6d06235f0d6bdf74fde7f8e5f76f3e799cf1 Makefile: add simple targets diff -r 646c6d06235f -r eafed0b93f8e Makefile --- /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