You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
[tasks.test]
description = 'Run automated tests'
run = [ # multiple commands are run in series
'cargo test',
'./scripts/test-e2e.sh',
]
dir = "{{cwd}}" # run in user's cwd, default is the project's base directory
however the comment about the dir option seems incorrect based on my testing, for toml tasks using the dir option almost always caused the task to fail. also the default seems to be the cwd instead of the project root, would be good to get some clarity around the correct behaviour.
feel like the confusion from the docs is what led to folks opening:
one of the examples on the page https://mise.jdx.dev/tasks/toml-tasks.html#toml-based-tasks is
however the comment about the
dir
option seems incorrect based on my testing, for toml tasks using thedir
option almost always caused the task to fail. also the default seems to be the cwd instead of the project root, would be good to get some clarity around the correct behaviour.feel like the confusion from the docs is what led to folks opening:
dir
fails, show the full path in the error message mise#1722file
is not useable from subdirectory mise#1713The text was updated successfully, but these errors were encountered: