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:
parent
6656349da8
commit
58fd7ff0ee
2 changed files with 6 additions and 1 deletions
4
Justfile
4
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
|
||||
|
|
|
|||
3
Makefile
3
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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue