Commit graph

356 commits

Author SHA1 Message Date
Marc Addeo
3442c2be1c
Configure alias style in --list with --alias-style (#2342) 2024-12-12 23:36:24 +00:00
Casey Rodarmor
a5d884ed10
Fix truncated bang operator error message (#2522) 2024-12-11 23:24:42 +00:00
laniakea64
53f8619e36
Add regex mismatch conditional operator (#2490) 2024-12-10 18:23:48 -08:00
Sibi Prabakaran
5393105bef
Include source path in dump JSON (#2466) 2024-12-11 00:31:53 +00:00
Casey Rodarmor
8b35450c55
Rename read_to_string() to read() (#2518) 2024-12-10 22:59:11 +00:00
Alexander Demin
464fdbc1bb
Add read_to_string(path) function (#2507) 2024-12-10 22:52:19 +00:00
Vladimir Támara Patiño
563eee6609
Add [openbsd] recipe attribute (#2497) 2024-12-02 01:01:34 +00:00
Casey Rodarmor
cdf104bf8c
Add --request subcommand for testing (#2498) 2024-12-02 00:37:08 +00:00
Casey Rodarmor
a633b269c1
Refactor JSON tests (#2484) 2024-11-27 18:58:58 -08:00
Ben Heidemann
fdc9245c5d
Add [working-directory] recipe attribute (#2438) 2024-11-27 23:52:44 +00:00
Casey Rodarmor
fdf34748e7
Forbid duplicate non-repeatable attributes (#2483) 2024-11-27 22:28:06 +00:00
Razvan Maracine
40840a042f
Add --allow-missing to ignore missing recipe and submodule errors (#2460) 2024-11-23 20:22:01 +00:00
Casey Rodarmor
ce9062abde
Don't write justfiles unchanged by formatting (#2479) 2024-11-23 19:44:21 +00:00
Casey Rodarmor
084a2d2de3
Add style() function (#2462) 2024-11-17 02:26:11 +00:00
Casey Rodarmor
eb6e3741b8
Make recipe doc attribute override comment (#2470) 2024-11-17 02:02:27 +00:00
Casey Rodarmor
520cf91423
Change doc backtick color to cyan (#2469) 2024-11-17 00:21:14 +00:00
Greg Shuflin
1ae6a6d656
Highlight backticks in docs when listing recipes (#2423) 2024-11-09 19:05:58 +00:00
Casey Rodarmor
67034cb8b4
Don't export constants (#2449) 2024-11-02 18:11:24 +00:00
Casey Rodarmor
7030e9cac6
Add && and || operators (#2444) 2024-11-01 00:54:46 +00:00
Greg Shuflin
a71f2a53be
Use prettier string comparison in tests (#2435) 2024-10-30 22:35:45 +00:00
Casey Rodarmor
4683a63adc
Allow duplicate imports (#2437) 2024-10-30 22:23:00 +00:00
Casey Rodarmor
6230354ec0
Mark recipes with private attribute as private in JSON dump (#2415) 2024-10-05 21:19:28 +00:00
Casey Rodarmor
85c6e0530e
Forbid invalid attributes on assignments (#2412) 2024-10-05 05:56:51 +00:00
Casey Rodarmor
4d865a1645
Add --one flag to forbid multiple recipes from being invoked on the command line (#2374) 2024-09-21 05:25:52 +00:00
Casey Rodarmor
d38e683eab
Allow default values to use earlier recipe arguments (#2382) 2024-09-21 03:54:38 +00:00
laniakea64
d2c66e9fa9
Allow including arbitrary characters in strings with \u{…} (#2360) 2024-09-15 09:59:52 +00:00
Marc Addeo
5fb514c1c6
Fix type names in redefinition error message (#2353) 2024-09-13 08:45:32 +00:00
Greg Shuflin
a9a24da0e6
Print recipe doc string when--explain flag is passed (#2319) 2024-08-29 19:13:58 +00:00
Casey Rodarmor
d3d3c4e48f
Allow fallback with recipes in submodules (#2329) 2024-08-28 22:10:40 +00:00
adsnaider
f25e2d784d
Allow [private] attribute on assignments (#2300) 2024-08-10 18:22:07 +00:00
Casey Rodarmor
f9c2479af8
Group commands under dedicated heading in --help output (#2302) 2024-08-05 22:31:06 +00:00
Casey Rodarmor
c2207a906b
Make function paths relative to correct working directory (#2294) 2024-08-02 19:20:07 +00:00
Viktor Ekström
77260f8fc4
Keep multi-line shebangs together (#2276) 2024-07-31 02:21:41 +00:00
Casey Rodarmor
7025c2dcc6
Use correct backtick and shell() expression working directory in submodules (#2285) 2024-07-30 18:51:57 -07:00
Yuri Astrakhan
23a53fb50f
Add working-directory setting (#2283) 2024-07-31 00:50:32 +00:00
Casey Rodarmor
044b00a90a
Fix Rust 1.80.0 warnings (#2281) 2024-07-27 22:00:19 +00:00
Casey Rodarmor
980af410d2
Remove (no group) header before ungrouped recipes (#2268) 2024-07-21 23:41:29 +00:00
Jacob Woliver
16aad6edfd
Allow [group] attribute on submodules (#2263) 2024-07-21 23:35:26 +00:00
Casey Rodarmor
14489c0376
Allow empty [script] attribute and add set script-interpreter (#2264) 2024-07-18 23:02:22 -07:00
Casey Rodarmor
0cd38464f1
set dotenv-path does not override set dotenv-filename (#2262) 2024-07-18 19:49:52 +00:00
Casey Rodarmor
496f6b08d4
Add unstable [script(…)] attribute (#2259) 2024-07-17 22:59:18 -07:00
Casey Rodarmor
a3693f3e8f
Add [extension: 'EXT'] attribute to set shebang recipe script file extension (#2256) 2024-07-15 13:08:28 -07:00
Casey Rodarmor
ea26e451fa
Suppress mod doc comment with empty [doc] attribute (#2254) 2024-07-15 16:27:48 +00:00
Greg Shuflin
d5ebc9515e
Allow [doc] annotation on modules (#2247) 2024-07-14 22:15:22 -07:00
Casey Rodarmor
687007a723
Stabilize modules (#2250) 2024-07-14 21:22:03 +00:00
Casey Rodarmor
6747c79082
Print space before submodules in --list with groups (#2244) 2024-07-14 02:20:35 +00:00
Casey Rodarmor
458805e283
Allow mod path to be directory containing module source (#2238) 2024-07-08 22:38:25 +00:00
Casey Rodarmor
d6669e0b97
Allow enabling unstable features with set unstable (#2237) 2024-07-08 03:45:03 +00:00
Casey Rodarmor
564814208f
Lexiclean search directory so .. does not check the current directory (#2236)
If the search directory was `..`, for example in the invocation
`just ../foo`, we would wind up checking the justfile in the current
directory since we did `INVOCATION_DIRECTORY/..`.ancestors(), which
would first return `INVOCATION_DIRECTORY`.

Instead, lexiclean the result of joining th invocation directory with
the search directory, so `..` is removed, and `ancestors()` doesn't
return the invocation directory.
2024-07-08 02:12:07 +00:00
Casey Rodarmor
f1020b4e6a
Allow abbreviating functions ending in _directory to _dir (#2235) 2024-07-07 22:47:18 +00:00