1
0
Fork 0
mirror of synced 2024-11-16 13:35:35 -05:00
dotbot/dotbot
Dave Steinberg 0098c52610 Support named, conditional tasks.
A new property called task can be used to assign a name. If it is
specified, then the task's actions must be nested under an actions
property, and an if property can be used to make it conditional.
Just like on a link action, the value is executed in the shell. If
it has a non-zero exit code (failure), the whole task is skipped.
This allows tasks to group actions that only apply in certain
conditions (e.g. on certain OSes or in certain configurations),
and allows all actions (not just link) to be conditional.

If there is no task property, then the task behaves exactly as
it did previously.
2020-07-19 20:52:39 -04:00
..
messenger Add option --no-color to suppress colorization of output 2018-10-06 16:08:26 -07:00
plugins Support if on tasks. 2020-07-12 22:01:26 -04:00
util Support if on tasks. 2020-07-12 22:01:26 -04:00
__init__.py Release 1.17.0 2020-01-03 16:47:57 -05:00
cli.py Make error for empty config a little friendlier 2020-06-25 16:07:23 -04:00
config.py Fix compatibility with Python 3 2016-01-15 01:21:16 -05:00
context.py Add 'canonicalize-path' option to link 2020-01-03 22:35:13 +01:00
dispatcher.py Support named, conditional tasks. 2020-07-19 20:52:39 -04:00
plugin.py Add default options 2016-03-03 09:42:50 -05:00