From 71946dcc1a936765352181f2204bf085baaaafb5 Mon Sep 17 00:00:00 2001 From: Oliver Mannion <125105+tekumara@users.noreply.github.com> Date: Tue, 5 Nov 2024 22:49:41 +1100 Subject: [PATCH] fix: make install always installing when .python-version is newer than the python binary to avoid this we tell make to also use the time of the symlink which will be the time the venv is created --- {{cookiecutter.repo_name}}/Makefile-common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.repo_name}}/Makefile-common.mk b/{{cookiecutter.repo_name}}/Makefile-common.mk index 7d2322f..1ee3016 100644 --- a/{{cookiecutter.repo_name}}/Makefile-common.mk +++ b/{{cookiecutter.repo_name}}/Makefile-common.mk @@ -1,4 +1,4 @@ -MAKEFLAGS += --warn-undefined-variables +MAKEFLAGS += --warn-undefined-variables --check-symlink-times SHELL = /bin/bash -o pipefail .DEFAULT_GOAL := help .PHONY: help clean install format check pyright test dist hooks install-hooks