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