2.home-manager/Justfile
Matthieu Coudron 58fd7ff0ee
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.
2026-02-28 20:03:31 -06:00

24 lines
501 B
Makefile

# Common commands
#
# Contributing manual:
# - https://nix-community.github.io/home-manager/#ch-contributing
# List tests matching a pattern `pattern`
list *pattern:
nix run .#tests -- -l {{pattern}}
# Run all tests matching a pattern `pattern`
test *pattern:
nix run .#tests -- {{pattern}}
# Run integration tests
integration_tests:
nix run .#tests -- -t -l
# Create a news entry
create-news-entry:
modules/misc/news/create-news-entry.sh
# format codebase with treefmt
format:
treefmt