1
1
mirror of https://github.com/casey/just.git synced 2024-11-25 07:06:23 +03:00
Commit Graph

340 Commits

Author SHA1 Message Date
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
Casey Rodarmor
241e7b46a5
Fix function argument count mismatch error message (#2231) 2024-07-07 04:19:36 +00:00
Casey Rodarmor
7683c81c08
Allow unstable features with --summary (#2210) 2024-06-29 18:12:31 -07:00
Jacob Herbst
ef6a813dd1
Give modules doc comments for --list (#2199) 2024-06-28 21:13:11 -07:00
Casey Rodarmor
23f1c1ca9f
Allow comments after mod statements (#2201) 2024-06-27 18:47:33 +00:00
Casey Rodarmor
af86a471e2
Don't analyze comments when ignore-comments is set (#2180) 2024-06-21 20:39:34 +00:00
Blair Noctis
71b72c4a53
Remove dependency on cradle (#2169) 2024-06-18 02:42:16 +00:00
Casey Rodarmor
0e8f660d6d
Add datetime() and datetime_utc() functions (#2167) 2024-06-14 22:48:34 -07:00
Casey Rodarmor
197e1002d0
List recipes by group in group justfile order with just --list --unsorted (#2164) 2024-06-15 03:04:47 +00:00
Casey Rodarmor
b05a75d168
List groups in source order with just --groups --unsorted (#2160) 2024-06-14 20:35:03 +00:00
Casey Rodarmor
dd9792571b
Fix unexport syntax conflicts (#2158) 2024-06-14 19:39:34 +00:00
Casey Rodarmor
e6c37aacd1
Release 1.29.0 (#2155)
- Bump version: 1.28.0 → 1.29.0
- Update changelog
- Update changelog contributor credits
- Update dependencies
- Update version references in readme
- Fix zsh completion script
2024-06-14 02:57:12 +00:00
Casey Rodarmor
18ec9796b9
Improve argument parsing and error handling for submodules (#2154) 2024-06-14 02:41:45 +00:00
Casey Rodarmor
4b5ba8f6f5
Load environment file from dotenv-path relative to working directory (#2152) 2024-06-13 20:21:00 +00:00
Casey Rodarmor
1ce7a05bef
Add [positional-arguments] attribute (#2151) 2024-06-13 19:35:14 +00:00
Casey Rodarmor
637023e86f
Test bare bash path in shebang on windows (#2144) 2024-06-13 19:19:22 +00:00
Casey Rodarmor
8778972014
Test shell not found error messages (#2145) 2024-06-11 13:10:32 -07:00