-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script tasks fail when dir
includes templates
#1469
Comments
jdx
added a commit
that referenced
this issue
Jan 16, 2024
jdx
added a commit
that referenced
this issue
Jan 16, 2024
jdx
added a commit
that referenced
this issue
Jan 16, 2024
jdx
added a commit
that referenced
this issue
Jan 17, 2024
Hey @jdx! Thanks for the quick PR. Unfortunately, this still fails for the example I have given, with a subdirectory. # works
# mise dir="{{config_root}}"
# fails with mise failed to execute command: ~/dev/leuchtturm/.mise/tasks/man:deploy
# mise dir="{{config_root}}/man"
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Trying to set up a task that is more complex, so would like to use a script task.
This, inside
.mise.toml
works:This, in
.mise/tasks/as-script
, fails:To Reproduce
Save the above script as a task and run it.
Expected behavior
The script should run inside the
man
directory, not fail to execute.mise doctor
outputAdditional context
None!
The text was updated successfully, but these errors were encountered: