Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipelines: ability to generate make target easily #100

Open
hartym opened this issue Mar 28, 2018 · 0 comments
Open

Pipelines: ability to generate make target easily #100

hartym opened this issue Mar 28, 2018 · 0 comments

Comments

@hartym
Copy link
Member

hartym commented Mar 28, 2018

To replace this snippet:

# Pipelines
@listen(make.on_generate)
def on_make_generate_pipelines(event):
    # Releases
    event.makefile.add_target(
        'release',
        '''
            python -c 'import medikit; print(medikit.__version__)' || pip install medikit;
            $(PYTHON) -m medikit pipeline release start
        ''',
        phony=True,
        doc='Releases medikit.'
    )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant