to help with discovery. flakes can expose targets as well but: 1. they are not supported by everyone 2. there is a perf hit for now when copying the repo into the nix store
20 lines
451 B
Makefile
20 lines
451 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
|