justfile: moved format command from Makefile

Migrating command from Makefile to justfile.
I could not find any reference in the doc so I kept a migration
instruction in Makefile.
This commit is contained in:
Matthieu Coudron 2026-03-01 03:03:31 +01:00 committed by GitHub
parent 6656349da8
commit 58fd7ff0ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -18,3 +18,7 @@ integration_tests:
# Create a news entry
create-news-entry:
modules/misc/news/create-news-entry.sh
# format codebase with treefmt
format:
treefmt

View file

@ -17,4 +17,5 @@ test-install:
HOME=$(shell mktemp -d) NIX_PATH=${NIX_PATH} nix-shell . -A install
format:
nix-shell -A dev --run treefmt
# added 2026-03-01
@echo "run \"nix-shell -A dev --run 'just format'\" instead"