summaryrefslogtreecommitdiffstats
path: root/aria/multivim-plugin/Makefile
diff options
context:
space:
mode:
authordfilppi <dewayne@gigaspaces.com>2017-08-07 20:10:53 +0000
committerdfilppi <dewayne@gigaspaces.com>2017-08-07 20:10:53 +0000
commit9981f55920a6f1c1f20396d42e35b075b22f6a8f (patch)
tree1199993b9bae728c5274ae3062988dc9f357eb5b /aria/multivim-plugin/Makefile
parent4538e26e2a60bd325d63c19bcc7d0fed37ccce96 (diff)
ARIA multivim plugin initial checkin
Change-Id: I3a24ab6fc5ba54466bfecaf596a13b8907248ae8 Issue-id: SO-77 Signed-off-by: DeWayne Filppi <dewayne@gigaspaces.com>
Diffstat (limited to 'aria/multivim-plugin/Makefile')
-rw-r--r--aria/multivim-plugin/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/aria/multivim-plugin/Makefile b/aria/multivim-plugin/Makefile
new file mode 100644
index 0000000000..cfb7416fa7
--- /dev/null
+++ b/aria/multivim-plugin/Makefile
@@ -0,0 +1,39 @@
+.PHONY: release install files test docs prepare publish
+
+all:
+ @echo "make release - prepares a release and publishes it"
+ @echo "make dev - prepares a development environment"
+ @echo "make install - install on local system"
+ @echo "make files - update changelog and todo files"
+ @echo "make test - run tox"
+ @echo "make docs - build docs"
+ @echo "prepare - prepare module for release (CURRENTLY IRRELEVANT)"
+ @echo "make publish - upload to pypi"
+
+release: test docs publish
+
+dev:
+ pip install -rdev-requirements.txt
+ python setup.py develop
+
+install:
+ python setup.py install
+
+files:
+ grep '# TODO' -rn * --exclude-dir=docs --exclude-dir=build --exclude=TODO.md | sed 's/: \+#/: # /g;s/:#/: # /g' | sed -e 's/^/- /' | grep -v Makefile > TODO.md
+ git log --oneline --decorate --color > CHANGELOG
+
+test:
+ pip install tox
+ tox
+
+docs:
+ pip install sphinx sphinx-rtd-theme
+ cd docs && make html
+ pandoc README.md -f markdown -t rst -s -o README.rst
+
+prepare:
+ python scripts/make-release.py
+
+publish:
+ python setup.py sdist upload \ No newline at end of file