From 098acb422bf090a83dfe6283615f05cab0cf40ba Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 14 Jul 2024 09:44:54 +0100 Subject: [PATCH] ;tools: make justfiles compatible with just 1.28+ --- Justfile | 2 +- bin/Justfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Justfile b/Justfile index ee2051330..2098e2859 100644 --- a/Justfile +++ b/Justfile @@ -61,7 +61,7 @@ WATCHEXEC := 'watchexec --timings' # list this justfile's recipes, optionally filtered by REGEX @help *REGEX: - if [[ '{{ REGEX }}' =~ '' ]]; then just -lu; else just -lu | rg -i '{{ REGEX }}'; true; fi + if [[ '{{ REGEX }}' =~ '' ]]; then just -ul; else just -ul | rg -i '{{ REGEX }}'; true; fi alias h := help diff --git a/bin/Justfile b/bin/Justfile index b3c3d0f76..dd7f68700 100755 --- a/bin/Justfile +++ b/bin/Justfile @@ -9,7 +9,7 @@ TODAY := `date +%Y-%m-%d` # list the commands available @help: - {{ just }} -lu --list-heading=$'{{ file_name(justfile()) }} commands:\n\ + {{ just }} -ul --list-heading=$'{{ file_name(justfile()) }} commands:\n\ ARGS can be added to customise reports.\n\ ' # XXX we don't quote ARGS properly, so each one must be free of spaces