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 was 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
diroption seems incorrect based on my testing, for toml tasks using thediroption 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: