From 0b3bf89d5b328751da747eee199d575dd3d5c384 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Wed, 2 Apr 2025 12:01:14 +0300 Subject: [PATCH] Implicitly run doit with `poetry run` Implicitly run `doit` with `poetry run`, else `poetry env remove --all` will remove the calling Python interpreter. --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 48347cc..38af94c 100644 --- a/Makefile +++ b/Makefile @@ -54,22 +54,21 @@ Dockerfile: Dockerfile.env Dockerfile.in poetry-install: poetry install - .PHONY: build-clean build-clean: - doit clean + poetry run doit clean .PHONY: build-macos-intel build-macos-intel: build-clean poetry-install - doit -n 8 + poetry run doit -n 8 .PHONY: build-macos-arm build-macos-arm: build-clean poetry-install - doit -n 8 macos_build_dmg + poetry run doit -n 8 macos_build_dmg .PHONY: build-linux 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 regenerate-reference-pdfs: