mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
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:
4
Justfile
4
Justfile
@@ -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
|
||||||
|
|||||||
3
Makefile
3
Makefile
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user