Commit Graph

68 Commits

Author SHA1 Message Date
Greg Shuflin
d14aae1c29
Print recipe command timestamps with --timestamps (#2084) 2024-05-29 03:31:55 +00:00
Greg Shuflin
ed0dc20318
Add recipe groups (#1842) 2024-05-25 07:32:25 +00:00
Casey Rodarmor
d6b2e6bad2
Fix submodule recipe listing indentation (#2063) 2024-05-20 07:25:18 +00:00
Greg Shuflin
a343f5c80c
Add --global-justfile flag (#1846) 2024-05-19 09:29:13 +00:00
Casey Rodarmor
b1c7491486
Add shell-expanded strings (#2055) 2024-05-19 05:41:38 +00:00
Casey Rodarmor
6907847a77
Add predefined constants (#2054) 2024-05-18 23:12:11 +00:00
Casey Rodarmor
a9b0912b2b
Add --man subcommand (#2041) 2024-05-15 07:28:50 +00:00
Elizaveta Demina
9aea3e679b
Add assert expression (#1845) 2024-05-15 01:55:32 +00:00
Markus
e11684008e
Add 'allow-duplicate-variables' setting (#1922) 2024-05-15 01:39:42 +00:00
Casey Rodarmor
ad212c77bf
Fix output \r\n stripping (#2035)
Test if output ends with `\r\n` before `\n`, since the test for `\n` will
succeed if output is terminated with `\r\n`, so `\r\n` is properly stripped
from output text.
2024-05-14 23:30:19 +00:00
Wouter Jehee
d3d0dbef7d
Add --no-aliases to hide aliases in --list (#1961) 2024-03-26 12:20:46 -07:00
Trevor Gross
c2af5a1dd6
Add functions to return XDG base directories (#1822) 2024-01-11 23:50:04 +00:00
Neal Harrington
b66cce0f58
Add --no-deps to skip running recipe dependencies (#1819) 2024-01-09 08:40:08 +00:00
Casey Rodarmor
3461a7f291
Print submodule recipes in --summary (#1794) 2023-12-29 03:06:48 +00:00
Casey Rodarmor
316ea01295
Add modules (#1782) 2023-12-28 04:27:15 +00:00
Casey Rodarmor
e9bec8d398
Stabilize !include path as import 'path' (#1771) 2023-12-20 12:31:51 +08:00
Casey Rodarmor
7337447d42
Add file paths to error messages (#1737) 2023-11-22 04:17:38 +00:00
Hwatwasthat
9415bee16b
Add [confirm] attribute (#1723) 2023-11-16 23:51:34 +00:00
Greg Shuflin
992c6943da
Allow unstable features to be enabled with environment variable (#1588) 2023-10-09 03:47:20 +00:00
Ian Douglas Scott
30bcf28fde
Allow escaping newlines (#1551) 2023-07-25 09:05:47 +00:00
Casey Rodarmor
3b989ae955
Only print fallback message when verbose (#1510) 2023-01-13 21:36:52 +00:00
Casey Rodarmor
182ef134d9
Add invocation_directory_native() (#1507) 2023-01-13 19:03:14 +00:00
Greg Shuflin
912863bc1e
Add !include directives (#1470) 2023-01-13 03:25:28 +00:00
Greg Shuflin
d499227dcb
Allow matching search path arguments (#1475) 2023-01-12 07:06:17 +00:00
Casey Rodarmor
af54dafa77
Allow recipe parameters to shadow variables (#1480) 2023-01-10 00:59:02 +00:00
Casey Rodarmor
10ad32430b
Stabilize fallback (#1471) 2023-01-04 06:31:56 +00:00
Nick Kocharhook
bb5b962c3d
Update Sublime syntax instructions (#1455) 2023-01-02 09:44:06 +00:00
Casey Rodarmor
2b46af1cae
Hide recipes with [private] attribute (#1422) 2022-11-23 00:25:57 +00:00
Casey Rodarmor
331f61f59c
Add [no-cd] attribute (#1400) 2022-11-02 23:37:35 -07:00
Casey Rodarmor
73777f7183
Add OS Configuration Attributes (#1387) 2022-10-31 00:52:03 -07:00
Gökhan Karabulut
8b7640b633
Add [no-exit-message] recipe annotation (#1354)
When a recipe wraps cli tool and the tool exits with a non-zero code,
just adds its own extra exit error message along with the messages
from the tool. Introduce the `[no-exit-message]` attribute to suppress
this additional message.
2022-10-25 16:32:36 -07:00
Greg Shuflin
e445cfb47d
Add skip-comments setting (#1333)
Add a new setting "skip-comments", which defaults to true. If unset,
this causes lines internal to a non-shebang recipe beginning with the
character '#' (including '#!' internal to a non-shebang recipe; that is,
any such instances occurring after the first line of a recipe) to be
treated as comments of the justfile itself. They will not be echoed to
stderr when the recipe executes.
2022-10-05 00:32:30 +00:00
Casey Rodarmor
baaa8cb194
Allow comments on same line as settings (#1339) 2022-09-10 15:19:49 -07:00
Casey Rodarmor
7c0a960555
Fix shell setting precedence (#1306) 2022-08-09 02:50:31 +00:00
Casey Rodarmor
a46be41699
Add / operator (#1237) 2022-06-25 09:39:06 +00:00
Evan Richter
bfceb8f9c9
Prevent unbounded recursion when parsing expressions (#1248) 2022-06-22 15:00:13 -07:00
Casey Rodarmor
c625d61abd
Fix multibyte codepoint crash (#1243)
Co-authored-by: Evan Richter <evanjrichter@gmail.com>
2022-06-21 00:24:13 +00:00
Casey Rodarmor
01fae9b1e4
Do use super::*; instead of use crate::common::*; (#1239) 2022-06-19 04:56:31 +00:00
Casey Rodarmor
c24a194602
Add windows-shell setting (#1198) 2022-05-31 13:01:59 -07:00
Casey Rodarmor
db35a58a61
Skip duplicate recipe arguments (#1174) 2022-05-04 05:04:55 +00:00
Casey Rodarmor
52f73db33d
Search for missing recipes in parent directory justfiles (#1149) 2022-03-31 05:13:59 +00:00
Greg Lutostanski
bcdaa95a66
Allow duplicate recipes (#1095) 2022-02-15 02:37:06 +00:00
Michael Lohr
6cf95a7337
Add windows-powershell setting (#1057) 2022-01-18 19:02:15 +00:00
Casey Rodarmor
3372efefc3
Allow using - and @ in any order (#1063) 2022-01-03 00:51:22 +00:00
Casey Rodarmor
0ae91884e2
Add --dump-format json (#992) 2021-11-17 00:07:48 -08:00
Casey Rodarmor
3ef420ccb3
Add quote(s) function for escaping strings (#1022)
Replace all single quotes with `'\''` and prepend and append single
quotes to `s`. This is sufficient to escape special characters for many
shells, including most Bourne shell descendants.
2021-11-08 19:22:58 +00:00
Casey Rodarmor
8b49c0cbd1
Ignore leading byte order mark in source files (#1021) 2021-11-05 04:35:57 +00:00
Casey Rodarmor
9512eb403b
Don't skip variables in variable iterator (#991) 2021-10-09 05:04:13 +00:00
Casey Rodarmor
39301e9f8b
Remove deprecated equals error (#985) 2021-10-02 01:37:28 +00:00
Casey Rodarmor
0db4589efe
Implement regular expression match conditionals (#970) 2021-09-16 23:45:56 +00:00