casey / casey/just

Run subsequents on success or failure

Open
#1,582 13 comments 11 reactions 0 assignees View on GitHub
coveted
Dominant language
Rust
Stars
35.8k
Forks
846
Avg merge
27m
Merged PRs (30d)
3

Description

Relates to: https://github.com/casey/just/issues/819

It looks like `recipe_1: || recipe_after_1` wasn't implemented. I was wondering if a feature like that could be added?

My use case would be to have a common setup and cleanup recipe I can add to other recipes. It also allows the cleanup recipe to run regardless and avoid prefixing everything with a dash.

Amazing tool by the way :)

Contributor guide

Open the contributing guide

Research direction

Read the related issue #819 first, then trace how just executes recipes and handles success or failure. The feature should allow a recipe such as `recipe_1: || recipe_after_1` to run the subsequent recipe regardless of the first recipe's result, supporting shared setup and cleanup without prefixing commands with a dash.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.