Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ curl -sSfL https://raw.githubusercontent.com/osapi-io/osapi-justfiles/refs/heads

Then run the consuming project's recipes to verify behavior.

## Before committing

Run `just ready` before committing to ensure justfiles are properly formatted:

```bash
just ready # fmt
```

## Branching

All changes should be developed on feature branches. Create a branch from `main`
Expand Down
9 changes: 9 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Justfile formatting recipes run against local recipe files.

# Check justfile formatting
test:
just --justfile just.just --working-directory . fmt-check

# Format and lint before committing
ready:
just --justfile just.just --working-directory . fmt
Loading