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
2 changed files with 6 additions and 1 deletions

View File

@@ -18,3 +18,7 @@ integration_tests:
# Create a news entry # Create a news entry
create-news-entry: create-news-entry:
modules/misc/news/create-news-entry.sh 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 HOME=$(shell mktemp -d) NIX_PATH=${NIX_PATH} nix-shell . -A install
format: format:
nix-shell -A dev --run treefmt # added 2026-03-01
@echo "run \"nix-shell -A dev --run 'just format'\" instead"