From a618c8f74690233f8c837ba20f769e61a762cd57 Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Wed, 26 Feb 2020 15:47:38 +0100
Subject: [PATCH] Add justfile

---
 justfile | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 justfile

diff --git a/justfile b/justfile
new file mode 100644
index 0000000..ea96296
--- /dev/null
+++ b/justfile
@@ -0,0 +1,20 @@
+# Just file: https://github.com/casey/just
+
+test:
+    pytest
+
+release version: test
+    git tag {{version}}
+    git checkout {{version}}
+    git push --tags -f
+    python3 setup.py sdist
+    twine upload dist/pystencils_autodiff-{{version}}.tar.gz
+    git checkout master
+    
+wheel_release version: test
+    git tag {{version}}
+    git checkout {{version}}
+    git push --tags -f
+    python3 setup.py bdist_wheel
+    twine upload dist/pystencils_autodiff-{{version}}-cp37-cp37m-linux_x86_64.whl
+    git checkout master
-- 
GitLab