set windows-shell := ["powershell.exe", "-NoLogo", "-NoProfile", "-Command"]

# Show recipe list without running a task.
default:
    @just --list

# Show a reproducible message.
hello name="developer":
    @Write-Output "Hello, {{name}}"

# This dependency runs before the final message.
check: (hello "firmware")
    @Write-Output "Checks complete"

# Preserve a non-zero exit code for the caller.
fail:
    @exit 7
