Greg Shuflin
ed0dc20318
Add recipe groups ( #1842 )
2024-05-25 07:32:25 +00:00
Casey Rodarmor
1654d14867
Forbid whitespace in shell-expanded string prefixes ( #2083 )
2024-05-25 03:56:03 +00:00
Casey Rodarmor
324c5d3113
Show submodule recipes in --choose ( #2069 )
2024-05-21 06:22:56 +00:00
Casey Rodarmor
d3492e6ffe
Use cache dir for temporary files ( #2067 )
...
Sometimes `/tmp` is mounted with the `noexec` option, which results
causes running shebang recipes to fail.
Instead of `/tmp`, use the cache directory as provided by the
[dirs crate](https://docs.rs/dirs/latest/src/dirs/lib.rs.html#77 ).
2024-05-21 00:04:42 +00:00
Casey Rodarmor
63ad7cc176
Use std::io::IsTerminal instead of atty crate ( #2066 )
2024-05-20 23:42:15 +00:00
Casey Rodarmor
b9f63f1494
Allow multiple imports of the same file in different modules ( #2065 )
2024-05-20 08:04:03 +00:00
Casey Rodarmor
d6b2e6bad2
Fix submodule recipe listing indentation ( #2063 )
2024-05-20 07:25:18 +00:00
Casey Rodarmor
9e658fba39
Refactor list subcommand ( #2062 )
2024-05-20 06:47:57 +00:00
Casey Rodarmor
587843f09c
Pass command as first argument to shell
( #2061 )
2024-05-20 04:12:09 +00:00
Saheed Adeleye
c6612de760
Add shell() function for running external commands ( #2047 )
2024-05-20 00:24:27 +00:00
Casey Rodarmor
198b37c020
Allow shell expanded strings in mod and import paths ( #2059 )
2024-05-19 16:47:25 -07:00
Greg Shuflin
a343f5c80c
Add --global-justfile
flag ( #1846 )
2024-05-19 09:29:13 +00:00
Casey Rodarmor
104608d8cc
Run imported recipes in root justfile with correct working directory ( #2056 )
2024-05-19 06:38:57 +00:00
Casey Rodarmor
b1c7491486
Add shell-expanded strings ( #2055 )
2024-05-19 05:41:38 +00:00
laniakea64
4961f49c38
Add encode_uri_component
function ( #2052 )
2024-05-19 00:36:34 +00:00
laniakea64
7fa6ed8149
Add choose
function for generating random strings ( #2049 )
2024-05-18 23:29:14 +00:00
Casey Rodarmor
6907847a77
Add predefined constants ( #2054 )
2024-05-18 23:12:11 +00:00
Casey Rodarmor
7359deeb99
Replace FunctionContext with Evaluator ( #2048 )
2024-05-18 00:21:47 +00:00
Greg Shuflin
843286f27c
Allow setting some command-line options with environment variables ( #2044 )
2024-05-17 23:31:00 +00:00
Saheed Adeleye
89ccf42ddf
Add prepend() function ( #2045 )
2024-05-17 23:23:59 +00:00
Saheed Adeleye
eb605181c2
Add append() function ( #2046 )
2024-05-17 23:12:38 +00:00
Casey Rodarmor
a9b0912b2b
Add --man subcommand ( #2041 )
2024-05-15 07:28:50 +00:00
Casey Rodarmor
07aaa4f440
Make dotenv-path
relative to working directory ( #2040 )
2024-05-15 04:31:58 +00:00
Poliorcetics
caace0a115
Update clap to version 4 ( #1924 )
2024-05-14 20:29:40 -07:00
adamnemecek
b85540007e
Cleanup ( #2026 )
2024-05-14 20:07:41 -07:00
Casey Rodarmor
c796a253af
Increase --list maximum alignable width from 30 to 50 ( #2039 )
2024-05-15 02:37:00 +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
N
d18bdef799
Use --command-color when printing shebang recipe commands ( #1911 )
2024-05-15 00:53:59 +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
Casey Rodarmor
c237c0097b
Fix Error::TmpdirIo error message ( #1987 )
2024-04-01 08:11:43 +00:00
Wouter Jehee
d3d0dbef7d
Add --no-aliases to hide aliases in --list ( #1961 )
2024-03-26 12:20:46 -07:00
George Shuklin
610aa0c52c
Add -E as alias for --dotenv-path ( #1910 )
2024-03-19 10:50:34 -07:00
Casey Rodarmor
b4d8e5b8c6
Use unwrap_or_default ( #1928 )
2024-02-28 06:52:43 +00:00
Trevor Gross
dc952f9c43
Add blake3
and blake3_file
functions ( #1860 )
2024-02-11 20:56:04 +00:00
crdx
e92ee922de
Support recipe paths containing ::
in Bash completion script ( #1863 )
2024-01-27 14:02:38 -08:00
Casey Rodarmor
5a36e685e5
Convert run_shebang into integration test ( #1880 )
2024-01-26 13:05:32 -08:00
Casey Rodarmor
43d88f50e0
Add function to canonicalize paths ( #1859 )
2024-01-19 20:04:28 +00:00
Marc
8bd411de45
Allow setting custom confirm prompt ( #1834 )
2024-01-13 02:44:13 +00:00
David Harrigan
5bbc89b718
Add set quiet
and [no-quiet]
( #1704 )
2024-01-12 20:38:23 +00:00
Swordelf2
53cea2f823
Add just_pid
function ( #1833 )
2024-01-12 03:22:27 +00:00
Casey Rodarmor
fbd4a437a0
Run imports in working directory of importer ( #1817 )
2024-01-12 03:00:38 +00: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
crdx
541e78104c
Ignore [private] recipes in just --list ( #1816 )
2024-01-09 08:07:43 +00:00
Casey Rodarmor
cf57613da7
Add a dash to tempdir prefix ( #1828 )
2024-01-09 07:52:15 +00:00
Casey Rodarmor
1ea5e6ac31
Don't conflate recipes with the same name in different modules ( #1825 )
2024-01-08 13:26:33 -08:00
Casey Rodarmor
1bfed56e5e
Make sigil stripping from recipe lines less incomprehensible ( #1812 )
2024-01-02 01:50:18 +00:00
Casey Rodarmor
87925f293e
Refactor invalid path argument check ( #1811 )
2024-01-01 00:15:41 +00:00
Casey Rodarmor
5c3b72a121
Recipes can be invoked with path syntax ( #1809 )
2023-12-31 22:03:49 +00:00
Casey Rodarmor
fc25a78826
Add --format
and --initialize
as aliases for --fmt
and --init
( #1802 )
2023-12-29 23:56:20 +00:00
Casey Rodarmor
b188882ed0
Use box-drawing characters in error messages ( #1798 )
2023-12-29 21:25:30 +00:00
Casey Rodarmor
e2c0d86bdd
Optional modules and imports ( #1797 )
2023-12-29 12:16:31 -08:00
Casey Rodarmor
177bb682b8
Use Self ( #1795 )
2023-12-29 03:16:46 +00:00
Casey Rodarmor
3461a7f291
Print submodule recipes in --summary ( #1794 )
2023-12-29 03:06:48 +00:00
Casey Rodarmor
f039701f71
Expand tilde in import and module paths ( #1792 )
2023-12-29 02:08:02 +00:00
Casey Rodarmor
8ea278c58b
Override imported recipes ( #1790 )
2023-12-28 17:34:37 -08:00
Casey Rodarmor
a1bd70a030
Run recipes with working directory set to submodule directory ( #1788 )
2023-12-29 00:55:36 +00:00
Casey Rodarmor
94b3af6cb7
Allow mod statements with path to source file ( #1786 )
2023-12-28 12:23:58 +00:00
Casey Rodarmor
316ea01295
Add modules ( #1782 )
2023-12-28 04:27:15 +00:00
Casey Rodarmor
86dbed7445
Display a descriptive error for !include
directives ( #1779 )
2023-12-24 17:14:17 +00:00
Casey Rodarmor
e9bec8d398
Stabilize !include path
as import 'path'
( #1771 )
2023-12-20 12:31:51 +08:00
Qeole
3dbbb2ed70
Pass justfile path to default chooser ( #1759 )
2023-12-14 00:48:40 +00:00
Qeole
e6e1823359
Pass --unstable
and --color always
to default chooser ( #1758 )
2023-12-11 23:46:28 +00:00
Casey Rodarmor
92bae080ab
List included recipes in load order ( #1745 )
2023-11-25 07:15:41 +00:00
Casey Rodarmor
09a39055ba
Rename Justfile::first → Justfile::default ( #1741 )
2023-11-22 18:33:55 +00:00
Casey Rodarmor
ab16c0493f
Don't default to included recipes ( #1740 )
2023-11-22 18:27:49 +00:00
Casey Rodarmor
7337447d42
Add file paths to error messages ( #1737 )
2023-11-22 04:17:38 +00:00
Greg Shuflin
f745316e88
Move !include processing into compiler ( #1618 )
2023-11-21 11:28:59 -08:00
Casey Rodarmor
bfea1ae5f1
Remove VALID_ALIAS_ATTRIBUTES array ( #1731 )
2023-11-20 23:35:29 +00:00
Hwatwasthat
9415bee16b
Add [confirm]
attribute ( #1723 )
2023-11-16 23:51:34 +00:00
Casey Rodarmor
53fec7b449
Fix CI ( #1728 )
2023-11-16 21:51:57 +00:00
l4zygreed
e585ed9c74
Fix Fish completion script ( #1710 )
2023-10-30 17:29:33 +00:00
Victor Adossi ("vados")
64d7d07185
Add semver_matches
function ( #1713 )
2023-10-27 20:07:46 +00:00
Yuri Astrakhan
e01dbda156
Clean up error display ( #1699 )
2023-10-16 20:18:25 -07:00
Yuri Astrakhan
be7f161554
Misc fixes ( #1700 )
2023-10-17 03:07:09 +00:00
Laurent Fourrier
812e1ea3cc
Add dotenv-filename
and dotenv-path
settings ( #1692 )
2023-10-12 05:04:46 +00:00
N
22e103361f
Allow setting echoed recipe line color ( #1670 )
2023-10-11 00:04:34 +00:00
Greg Shuflin
992c6943da
Allow unstable features to be enabled with environment variable ( #1588 )
2023-10-09 03:47:20 +00:00
Casey Rodarmor
72e5b17242
Placate clippy ( #1689 )
2023-10-09 02:34:05 +00:00
Matt Schulte
63ed00ff78
Add num_cpus() function ( #1568 )
2023-08-02 23:52:21 +00:00
Ian Douglas Scott
30bcf28fde
Allow escaping newlines ( #1551 )
2023-07-25 09:05:47 +00:00
Casey Rodarmor
f04de75609
Stabilize JSON dump format ( #1633 )
2023-06-29 21:12:55 +00:00
Bojan Stipic
f44abdf024
Avoid grep aliases in bash completions ( #1622 )
2023-06-18 00:05:49 +00:00
Baden Ashford
bba673fd79
Add env() function ( #1613 )
2023-06-13 12:49:46 +00:00
Patrick Jackson
19c887fded
Add descriptions to fish recipe completions ( #1578 )
2023-06-12 17:12:17 +00:00
fzdwx
cdb0dfae5f
Allow selecting multiple recipes with default chooser ( #1547 )
2023-06-12 17:06:51 +00:00
Yuri Astrakhan
a1220c63e3
Cleanup ( #1566 )
2023-06-12 16:53:55 +00:00
Casey Rodarmor
67b264c878
Ignore clippy::let_underscore_untyped ( #1609 )
2023-05-28 00:42:52 +00:00
Li Ke
5f9ac39b03
Use just --show
in default chooser ( #1539 )
2023-01-28 08:24:54 +00:00
Greg Shuflin
687831816d
Allow multiple attributes on one line ( #1537 )
2023-01-27 07:54:24 +00:00
Greg Shuflin
054d6672c5
Analyze and Compiler tweaks ( #1534 )
2023-01-27 03:03:04 +00:00
Casey Rodarmor
a81b094441
Downgrade to TLS 1.2 in install script ( #1536 )
...
Revert "Update install script and readmes to use tls v1.3 (#1481 )"
This reverts commit 9b6b0b7fac
.
2023-01-27 02:49:03 +00:00
Greg Shuflin
1a5f07c672
Ignore additional search path arguments ( #1528 )
...
- Revert #1475
- Add a test that arguments with different path prefixes are allowed
2023-01-24 21:07:22 -08:00
Greg Shuflin
6ab6588549
Borrow Ast in Analyser ( #1527 )
2023-01-25 04:06:33 +00:00
maiha
3d6f928e57
Add -n as a short flag for --for dry-run ( #1524 )
2023-01-24 07:48:30 +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
Casey Rodarmor
1d02f0ef80
Print format diff to stdout ( #1506 )
2023-01-13 10:30:38 -08:00
Greg Shuflin
912863bc1e
Add !include
directives ( #1470 )
2023-01-13 03:25:28 +00:00