kopia lustrzana https://github.com/jedie/PyInventory
Just install poetry via pip
rodzic
3d166c9083
commit
f080b851a9
12
Makefile
12
Makefile
|
@ -19,15 +19,9 @@ check-poetry:
|
||||||
exit 1 ; \
|
exit 1 ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install-poetry: ## install or update poetry
|
install-poetry: ## install or update poetry
|
||||||
@if [[ "$(shell poetry --version 2>/dev/null)" == *"Poetry"* ]] ; \
|
pip3 install -U pip
|
||||||
then \
|
pip3 install -U poetry
|
||||||
echo 'Update poetry' ; \
|
|
||||||
poetry self update ; \
|
|
||||||
else \
|
|
||||||
echo 'Install poetry' ; \
|
|
||||||
curl -sSL "https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py" | python3 ; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
install: check-poetry ## install PyInventory via poetry
|
install: check-poetry ## install PyInventory via poetry
|
||||||
poetry install
|
poetry install
|
||||||
|
|
Ładowanie…
Reference in New Issue