fix(just): list recipes on a bare just #84
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/justfile-default-recipe"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
justresolves the no-argument recipe by source order in the root justfile and never selects an imported recipe, so common'sdefaultnever applied and the first locally defined recipe won:watch. Typingjustto discover recipes started a cargo-watch loop that had to be interrupted.Define
default(running@just --list) as the first recipe in the local justfile, and addset allow-duplicate-recipes := trueso it may shadow common's identically named recipe. Correct the header comments that claimeddefaultwas inherited and that the setting was unnecessary, and note that recipe order matters here. CLAUDE.md carried the same stale claim about no shadowing.Because "default stays first" is invisible to the compiler, the Check workflow now asserts the first recipe in the justfile is
default:and fails otherwise.#FJ-65
just