task: @confirm install-deps
    echo "hi, $1"

install-deps: @skip:key=./Pipfile.lock system-deps
    pipenv install

system-deps: install-jq
    set -ex

    brew install pipenv

    if ! brew info --installed --json | jq 'map(.name) | index( "pipenv" )'; then
        brew install pipenv
    fi

install-jq:
    brew install jq
