;tools: make justfiles compatible with just 1.28+
This commit is contained in:
parent
b4e96c8f0e
commit
098acb422b
2
Justfile
2
Justfile
@ -61,7 +61,7 @@ WATCHEXEC := 'watchexec --timings'
|
|||||||
|
|
||||||
# list this justfile's recipes, optionally filtered by REGEX
|
# list this justfile's recipes, optionally filtered by REGEX
|
||||||
@help *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
|
alias h := help
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@ TODAY := `date +%Y-%m-%d`
|
|||||||
|
|
||||||
# list the commands available
|
# list the commands available
|
||||||
@help:
|
@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\
|
ARGS can be added to customise reports.\n\
|
||||||
'
|
'
|
||||||
# XXX we don't quote ARGS properly, so each one must be free of spaces
|
# XXX we don't quote ARGS properly, so each one must be free of spaces
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user