Skip to content

chore: allow local justfile overrides#460

Merged
ValuedMammal merged 1 commit intobitcoindevkit:masterfrom
Shgit29:chore/allow-local-justfile
Apr 24, 2026
Merged

chore: allow local justfile overrides#460
ValuedMammal merged 1 commit intobitcoindevkit:masterfrom
Shgit29:chore/allow-local-justfile

Conversation

@Shgit29
Copy link
Copy Markdown
Contributor

@Shgit29 Shgit29 commented Apr 24, 2026

Description

Closes #401

Adds support for local justfile overrides by including an optional justfile.local import at the top of the repository justfiles.

This allows contributors to define their own local recipes without modifying tracked files. The import uses import?, so it remains optional and does not affect existing workflows if the file is absent.

Also adds justfile.local to .gitignore to prevent accidental commits.


Notes to the reviewers

Followed the Just optional import feature as documented:
https://just.systems/man/en/imports.html

The change is intentionally minimal and only adds the optional import without modifying any existing recipes or behavior.

Applies the change to both root and examples justfiles for consistency.


Changelog notice

Added support for optional local justfile overrides via justfile.local.


Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran just p before pushing

New Features:

  • I've added tests for the new feature
  • I've added docs for the new feature

Bugfixes:

  • This pull request breaks the existing API
  • I've added tests to reproduce the issue which are now passing
  • I'm linking the issue being fixed by this PR

Copy link
Copy Markdown
Member

@thunderbiscuit thunderbiscuit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested ACK 68dccaf. Works great!

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.21%. Comparing base (35a87f3) to head (68dccaf).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #460   +/-   ##
=======================================
  Coverage   80.21%   80.21%           
=======================================
  Files          24       24           
  Lines        5348     5348           
  Branches      242      242           
=======================================
  Hits         4290     4290           
  Misses        980      980           
  Partials       78       78           
Flag Coverage Δ
rust 80.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ValuedMammal
Copy link
Copy Markdown
Collaborator

ACK 68dccaf

@ValuedMammal ValuedMammal merged commit f44b7af into bitcoindevkit:master Apr 24, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Allow adding local justfiles

3 participants