From af6662377ce4048c2214787ee2a1104a9f33839d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 18 Jun 2013 23:34:42 +0100 Subject: Basic bindings for jq --- makefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile new file mode 100644 index 0000000..997b575 --- /dev/null +++ b/makefile @@ -0,0 +1,31 @@ +.PHONY: test upload clean bootstrap setup + +test: + sh -c '. _virtualenv/bin/activate; nosetests -m'\''^$$'\'' `find tests -name '\''*.py'\''`' + +upload: setup + python setup.py sdist upload + make clean + +register: setup + python setup.py register + +README: + pandoc --from=markdown --to=rst README.md > README + +clean: + rm -f README + rm -f MANIFEST + rm -rf dist + +bootstrap: _virtualenv setup + _virtualenv/bin/pip install -e . +ifneq ($(wildcard test-requirements.txt),) + _virtualenv/bin/pip install -r test-requirements.txt +endif + make clean + +setup: README + +_virtualenv: + virtualenv _virtualenv -- cgit v1.2.3