From 401a70973a9cc3e3f45cac2241d287bd76d89380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Almir=20Saraj=C4=8Di=C4=87?= Date: Wed, 18 Sep 2024 16:41:25 +0200 Subject: [PATCH] Debug --- test/scripts/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/test/scripts/Makefile b/test/scripts/Makefile index 7b1f91c7..8917c59e 100644 --- a/test/scripts/Makefile +++ b/test/scripts/Makefile @@ -7,11 +7,16 @@ serve: rm -f .mise.toml rm -f .tool-versions + echo "Debug: $$PATH" + mise doctor + @if [[ "$$SHELL" == *"bash"* ]]; then \ - eval "$$(~/.local/bin/mise hook-env -s bash)"; \ - elif [[ "$$SHELL" == *"zsh"* ]]; then \ - eval "$$(~/.local/bin/mise hook-env -s zsh)"; \ - fi + eval "$$(~/.local/bin/mise activate bash)"; \ + eval "$$(~/.local/bin/mise hook-env -s bash)"; \ + elif [[ "$$SHELL" == *"zsh"* ]]; then \ + eval "$$(~/.local/bin/mise activate zsh)"; \ + eval "$$(~/.local/bin/mise hook-env -s zsh)"; \ + fi echo "Debug: $$PATH" mise doctor