diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-06-18 23:34:42 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-06-18 23:34:42 +0100 |
| commit | af6662377ce4048c2214787ee2a1104a9f33839d (patch) | |
| tree | e6f86bdcd439bc3167aad14dd1f716f3f67d2b10 /makefile | |
Basic bindings for jq
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 31 |
1 files changed, 31 insertions, 0 deletions
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 |
