Skip to content
#

task-runner

Here are 394 public repositories matching this topic...

marco-m
marco-m commented Jun 5, 2020

Both these Taskfiles cause task to panic:

version: '2'

tasks:
  foo:

and (so default is not a special case)

version: '2'

tasks:
  default:

Panic is:

$ task
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x12cf3e1]

goroutine 1 [running]:
github.com/go-task/ta
schettino72
schettino72 commented Jun 29, 2019

doit already support Task parameters, but they are not convenient to be used with task-groups.

Example of proposed feature:

from doit import task_param

@task_param({'name':'param1', 'short':'p', 'default':'default value'})
def task_py_params(param1):
    for name in ['foo', 'bar']:
        yield {
            'name': name,
            'actions':['echo {}'.format(param1)],
   

Improve this page

Add a description, image, and links to the task-runner topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the task-runner topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.