Commit Graph

1221 Commits

Author SHA1 Message Date
Trevor Gross
77f343e7b1
Fallback to wget in install script if curl isn't available(#1913) 2024-05-21 00:20:24 +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
laniakea64
178d4e2190
Improve shell() documentation (#2060) 2024-05-20 19:31:03 +00:00
Alberto Donato
d15dad66c9
Add bash completion for snap (#2058) 2024-05-20 08:14:37 +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
f3eebb74d8
Document working directory (#2053) 2024-05-18 22:09:24 +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
Casey Rodarmor
e2c9405fa9
Document using env -S (#2038) 2024-05-15 02:23:42 +00:00
laniakea64
2d9cfa202f
Update line continuation documentation (#1998) 2024-05-15 02:10:17 +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
George Shuklin
1b62918240
Add example using GNU parallel to run tasks in concurrently (#1915) 2024-05-15 01:16:53 +00:00
Casey Rodarmor
6d7de0a480
Placate clippy: use clone_into (#2037) 2024-05-15 01:05:55 +00:00
N
d18bdef799
Use --command-color when printing shebang recipe commands (#1911) 2024-05-15 00:53:59 +00:00
Casey Rodarmor
ea141a6891
Document how to use watchexec to re-run recipes when files change (#2036) 2024-05-14 23:39:16 +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
b7c284972d
Update VS Code extensions in readme (#2034) 2024-05-14 22:13:26 +00:00
Casey Rodarmor
eef4e3abbe
Add rust:just repology package table to readme (#2032) 2024-05-14 05:01:52 +00:00
Casey Rodarmor
694ff2295e
Release 1.26.0 (#2031)
- Bump version: 1.25.2 → 1.26.0
- Update changelog
- Update changelog contributor credits
- Update dependencies
- Update man page
2024-05-14 03:48:14 +00:00
dependabot[bot]
b4efe2628a
Update softprops/action-gh-release (#2029) 2024-05-13 10:28:57 -07:00
Greg Shuflin
47fb323561
Update dependencies (#1999)
- Bump regex dependency version
- Remove unused yaml-rust dependency
- Bump heck dependency version
- Update dependencies
2024-05-09 06:02:01 +00:00
dependabot[bot]
d16b598ce2
Bump peaceiris/actions-gh-pages to version 4 (#2005) 2024-05-09 13:56:40 +08:00
Casey Rodarmor
5aff1e8f48
Clarify that janus operates on public justfiles only (#2021) 2024-05-01 18:01:02 +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
dependabot[bot]
1ad1525927
Update softprops/action-gh-release (#1973) 2024-03-18 10:26:16 -07:00
Aarmn the limitless
10923ebb6d
Rename delete example recipe to delete-all (#1966) 2024-03-15 02:14:20 +00:00
dependabot[bot]
0b777772f4
Update softprops/action-gh-release (#1954) 2024-03-11 10:29:04 -07:00
racerole
7339fc478d
Fix function name typo (#1953) 2024-03-11 04:30:53 +00:00