From 58fd7ff0eec2cda43e705c4c0585729ec471d400 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron <886074+teto@users.noreply.github.com> Date: Sun, 1 Mar 2026 03:03:31 +0100 Subject: [PATCH] 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. --- Justfile | 4 ++++ Makefile | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Justfile b/Justfile index 114b8cc5..183f50a0 100644 --- a/Justfile +++ b/Justfile @@ -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 diff --git a/Makefile b/Makefile index 7ab1bb77..ac19dd6d 100644 --- a/Makefile +++ b/Makefile @@ -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"