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
Expected behavior
The docs seem to suggest that bundle_id should be skipped if .bundle_id is newer than any .xcodeproj file, but it's running every time I run the reload task. Running mise run bundle_id also re-runs the command (though maybe that last bit is intentional?). It's also worth noting that .xcodeproj files are really directories.
Additional context
I was originally trying to figure out how to get an [env] variable from the mise.toml into the task run command, but since the command takes a couple seconds to run and there's no caching for environment variables (as mentioned in #1261) I tried to make it output to a file instead so I could skip the task when the dependencies weren't modified.
The text was updated successfully, but these errors were encountered:
The main problem seems to be that it only works for files.
Not for directories
I can't guess why this decision was made, but I also encountered this problem and the need to rely on the directory modification date, since files can be added/removed in it.
Describe the bug
mise
doesn't appear to be respecting thesources
andoutputs
to skip running a task.To Reproduce
I have this in my
mise.toml
Expected behavior
The docs seem to suggest that
bundle_id
should be skipped if.bundle_id
is newer than any.xcodeproj
file, but it's running every time I run thereload
task. Runningmise run bundle_id
also re-runs the command (though maybe that last bit is intentional?). It's also worth noting that.xcodeproj
files are really directories.mise doctor
outputAdditional context
I was originally trying to figure out how to get an
[env]
variable from themise.toml
into the taskrun
command, but since the command takes a couple seconds to run and there's no caching for environment variables (as mentioned in #1261) I tried to make it output to a file instead so I could skip the task when the dependencies weren't modified.The text was updated successfully, but these errors were encountered: