Skip to content
#

build-automation

Here are 512 public repositories matching this topic...

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)],
   
earthly
cirego
cirego commented May 11, 2020

If I do the following in my build.earth file:

ENV ${CODE_SRC}=/go/src/<project>

protobuf:
    COPY --dir api ${CODE_SRC}/backend

Then running earth +protobuf results in the files being copied into /backend:

+protobuf | --> COPY [api] /backend

I have worked around this by specifying the full path in the copy command:

ENV ${CODE_SRC}=/go/src/<project>

pro

Improve this page

Add a description, image, and links to the build-automation 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 build-automation topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.