Skip to content

Make

Standard targets

Shell commands

SHELL := /bin/bash
.ONESHELL:
oneshell-example:
    for i in {1..3}; do
        echo $${i}
    done

Patterns

Automatic Variables

deploy-%:
    ansible-playbook -i inventory/$* deploy.yaml
make deploy-testing