Taskfile task runner

Created on 2023-01-15T14:15:43-06:00

Return to the Index

This card pertains to a resource available on the internet.

This card can also be read via Gemini.

Does not use the shell off the system as other task runners do. It uses an internal shell interpreter based on but not a perfect clone of POSIX sh and bash.

The internal shell is also supported on Windows. As long as special powershell rules are not needed you might not need to modify the taskfile to run jobs there.

Supports "watch tasks" which will monitor dependency files and re-execute the rules whenever one of those files changes.

You can specify a list of input and output files of concern for a task. Those files are hashed or timestamp checked to determine if a rule should be run. This can also be augmented with a status check (the given example is checking if a task is up to date by hash but also ensuring a given production run flag is set.

TODO I want to try this one for good measure. Might try to get it in Void repos.