repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

pi/justfile

Raw
_default:
    python3 scripts/extensions.py list

check ext="":
    python3 scripts/extensions.py check {{ ext }}

publish ext="" otp="" bump="patch":
    #!/usr/bin/env bash
    set -euo pipefail
    args=(publish)
    if [[ -n "{{ ext }}" ]]; then args+=("{{ ext }}"); fi
    if [[ -n "{{ otp }}" ]]; then args+=(--otp "{{ otp }}"); fi
    args+=(--bump "{{ bump }}")
    python3 scripts/extensions.py "${args[@]}"

demo name:
    python3 scripts/demo.py {{ name }}

fmt:
    just --fmt