We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aae84df commit f26e5abCopy full SHA for f26e5ab
Makefile
@@ -0,0 +1,20 @@
1
+
2
+build/publish/bin:
3
+ virtualenv build/publish
4
+ build/publish/bin/pip install wheel twine
5
6
+checkversion:
7
+ git log -1 --oneline | grep -q "Bump version" || (echo "DID NOT DO VERSION BUMP"; exit 1)
8
+ git show-ref --tags | grep -q $$(git log -1 --pretty=%H) || (echo "DID NOT TAG VERSION"; exit 1)
9
10
+dist: checkversion build/publish/bin
11
+ build/publish/bin/python setup.py sdist
12
+ build/publish/bin/python setup.py bdist_wheel
13
14
+publish: dist/ build/publish/bin
15
+ build/publish/bin/twine upload dist/*
16
17
+clean:
18
+ rm -rf build/ dist/
19
20
+.PHONY: checkversion dist publish clean
0 commit comments