Commit Graph

638 Commits

Author SHA1 Message Date
Greg Shuflin
28e8ef84e1 AttributeSet 2024-07-16 18:07:14 -07: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
39b2783c4b
Use default values for --list-heading and --list-prefix (#2213) 2024-06-30 21:14:39 +00:00
Greg Shuflin
208187fbb6
Use clap::ValueParser (#2211) 2024-06-30 19:16:10 +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
e07da79d40
Use -and instead of && in PowerShell completion script (#2204) 2024-06-28 07:52:16 +00: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
Casey Rodarmor
e4564f45a3
Don't exit process in run() on argument parse error (#2176) 2024-06-20 03:57:46 +00:00
Casey Rodarmor
553adc1004
Document library interface (#2174) 2024-06-19 23:38:02 +00:00
Casey Rodarmor
e572b93d84
Allow passing command-line arguments into run() (#2173) 2024-06-19 23:25:36 +00:00
Ryan McGuire
fcac7ee768
Ignore env_logger initialization errors (#2170) 2024-06-19 07:50:37 +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
1547af08b5
Allow setting more command-line options with environment variables (#2161) 2024-06-14 23:11:22 +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
Ruben Nicolaides
4f16428bcb
Use --justfile in Fish shell completions (#2148) 2024-06-12 18:38:37 +00:00
Greg Shuflin
5ac98c020d
Add is_dependency() function (#2139) 2024-06-09 01:17:55 +00:00
Casey Rodarmor
3236154d8d
Fix fzf chooser preview with space-separated module paths (#2141) 2024-06-09 01:01:24 +00:00
Casey Rodarmor
0de971942a
Allow printing nu completion script with just --completions nushell (#2140) 2024-06-08 21:56:21 +00:00
Greg Shuflin
1ca53e8b22
Add [ATTRIBUTE: VALUE] shorthand (#2136) 2024-06-08 18:33:45 +00:00
Greg Shuflin
4fbd03735a
Refactor evaluator (#2138) 2024-06-08 14:42:16 +00:00
Greg Shuflin
38873dcb74
Allow unexporting environment variables (#2098) 2024-06-05 20:16:47 +00:00
Casey Rodarmor
af249dbce1
Write shebang recipes to $XDG_RUNTIME_DIR (#2128) 2024-06-05 19:03:14 +00:00
Casey Rodarmor
f2201d8684
Add set dotenv-required to require an environment file (#2116) 2024-05-30 23:12:07 +00:00
Casey Rodarmor
d38c1add13
Allow listing recipes in submodules with --list-submodules (#2113) 2024-05-30 12:28:54 -05:00
Casey Rodarmor
d2b10e04d3
Use space-separated recipe paths in --choose (#2115) 2024-05-30 17:24:06 +00:00
Casey Rodarmor
f5bb82dea3
Don't display submodule recipes in --list (#2112) 2024-05-30 02:15:10 +00:00
Casey Rodarmor
de1256f1bd
Show recipes in submodules with --show RECIPE::PATH (#2111) 2024-05-30 01:41:37 +00:00
Greg Shuflin
77a6e02964
Add --timestamp-format (#2106) 2024-05-29 09:28:45 +00:00
Casey Rodarmor
9d2c6b8858
Allow listing submodule recipes with --list PATH (#2108) 2024-05-29 08:08:29 +00:00
Greg Shuflin
d14aae1c29
Print recipe command timestamps with --timestamps (#2084) 2024-05-29 03:31:55 +00:00
Casey Rodarmor
db52d95146
Add module_file() and module_directory() functions (#2105) 2024-05-29 03:06:30 +00:00
laniakea64
b8044e789b
Fix bash completion for aliases (#2104) 2024-05-28 14:31:11 -07:00
Casey Rodarmor
2bacbddadb
Print multi-line doc comments before recipe in --list (#2090) 2024-05-25 18:12:55 -07:00
Casey Rodarmor
16a27dba87
List unsorted imported recipes by import depth and offset (#2092) 2024-05-26 01:10:06 +00:00
Greg Shuflin
dcbd07f9d0
Add [doc] attribute to set and suppress documentation comments (#2050) 2024-05-25 09:26:04 +00:00