Implicitly run doit with poetry run

Implicitly run `doit` with `poetry run`, else `poetry env remove --all`
will remove the calling Python interpreter.
This commit is contained in:
Alex Pyrgiotis 2025-04-02 12:01:14 +03:00
parent e0b10c5e40
commit 0b3bf89d5b
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -54,22 +54,21 @@ Dockerfile: Dockerfile.env Dockerfile.in
poetry-install: poetry-install:
poetry install poetry install
.PHONY: build-clean .PHONY: build-clean
build-clean: build-clean:
doit clean poetry run doit clean
.PHONY: build-macos-intel .PHONY: build-macos-intel
build-macos-intel: build-clean poetry-install build-macos-intel: build-clean poetry-install
doit -n 8 poetry run doit -n 8
.PHONY: build-macos-arm .PHONY: build-macos-arm
build-macos-arm: build-clean poetry-install build-macos-arm: build-clean poetry-install
doit -n 8 macos_build_dmg poetry run doit -n 8 macos_build_dmg
.PHONY: build-linux .PHONY: build-linux
build-linux: build-clean poetry-install build-linux: build-clean poetry-install
doit -n 8 fedora_rpm debian_deb poetry run doit -n 8 fedora_rpm debian_deb
.PHONY: regenerate-reference-pdfs .PHONY: regenerate-reference-pdfs
regenerate-reference-pdfs: regenerate-reference-pdfs: