Skip to content
This repository was archived by the owner on Jun 1, 2024. It is now read-only.
This repository was archived by the owner on Jun 1, 2024. It is now read-only.

Improve docs for toml based tasks #44

@jatinn

Description

@jatinn

one of the examples on the page https://mise.jdx.dev/tasks/toml-tasks.html#toml-based-tasks is

[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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions