summaryrefslogtreecommitdiff
path: root/kvmd/Makefile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-06-27 18:25:59 +0300
committerDevaev Maxim <[email protected]>2018-06-27 18:25:59 +0300
commit4c145f363f33222b948df981d8c936844f2b17dc (patch)
tree7932ea4f2af537caed6b8cbc9750db05fe14e72b /kvmd/Makefile
initial commit
Diffstat (limited to 'kvmd/Makefile')
-rw-r--r--kvmd/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/kvmd/Makefile b/kvmd/Makefile
new file mode 100644
index 00000000..a6d8ac6a
--- /dev/null
+++ b/kvmd/Makefile
@@ -0,0 +1,36 @@
+all:
+ cat Makefile
+
+bencoder:
+ python3 setup.py build_ext --inplace
+
+release:
+ make clean
+ make tox
+ make clean
+ make push
+ make bump
+ make push
+ make pypi
+ make clean
+
+tox:
+ tox
+
+bump:
+ bumpversion patch
+
+push:
+ git push
+ git push --tags
+
+pypi:
+ python3 setup.py register
+ python3 setup.py sdist upload
+
+clean:
+ rm -rf build site dist pkg src *.egg-info kvmd-*.tar.gz
+ find -name __pycache__ | xargs rm -rf
+
+clean-all: clean
+ rm -rf .tox .mypy_cache