summaryrefslogtreecommitdiffstats
path: root/.bin/poetry-clean-init
diff options
context:
space:
mode:
Diffstat (limited to '.bin/poetry-clean-init')
-rwxr-xr-x.bin/poetry-clean-init12
1 files changed, 12 insertions, 0 deletions
diff --git a/.bin/poetry-clean-init b/.bin/poetry-clean-init
new file mode 100755
index 0000000..ad7da81
--- /dev/null
+++ b/.bin/poetry-clean-init
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -xe
+
+
+poetry env info -p
+test -x "${1}"
+
+rm -r $(poetry env info -p) poetry.lock
+poetry env use "${1}"
+poetry update --dry-run
+poetry install
remember that computers suck.