summaryrefslogtreecommitdiffstats
path: root/.bin/poetry-clean-init
blob: ad7da81d7394bacd56464fb61f9399e03d323fd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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.