David Matos
beeaa6ce2d
Add tempdir
setting ( #1369 )
2022-10-25 16:57:32 -07:00
Gökhan Karabulut
8b7640b633
Add [no-exit-message] recipe annotation ( #1354 )
...
When a recipe wraps cli tool and the tool exits with a non-zero code,
just adds its own extra exit error message along with the messages
from the tool. Introduce the `[no-exit-message]` attribute to suppress
this additional message.
2022-10-25 16:32:36 -07:00
Casey Rodarmor
deac684aaa
Use for loop in capitalize implementation ( #1377 )
2022-10-25 03:52:43 +00:00
Cihan Demirci
aaef61b908
Add capitalize(s)
function ( #1375 )
...
`capitalize(s)` converts the first character of s to uppercase
and the rest to lowercase.
2022-10-24 20:39:40 -07:00
Casey Rodarmor
28be873dfc
Require set fallback := true
to enable recipe fallback ( #1368 )
2022-10-19 19:00:09 -07:00
Casey Rodarmor
cd09d1e6d4
Don't evaluate comments ( #1358 )
2022-10-04 22:33:19 -07:00
Greg Shuflin
e445cfb47d
Add skip-comments setting ( #1333 )
...
Add a new setting "skip-comments", which defaults to true. If unset,
this causes lines internal to a non-shebang recipe beginning with the
character '#' (including '#!' internal to a non-shebang recipe; that is,
any such instances occurring after the first line of a recipe) to be
treated as comments of the justfile itself. They will not be echoed to
stderr when the recipe executes.
2022-10-05 00:32:30 +00:00
JP Bochi
7f7275550d
Allow bash completion to complete tasks in other directories ( #1303 )
2022-09-23 20:34:55 -07:00
Casey Rodarmor
76bda4cfd9
Allow fallback with search directory ( #1348 )
...
This loosens a restriction, and allows falling back to a justfile in a parent justfile
when a search directory is provide, e.g. with `just ..` or `just foo/bar/`. Looking
at it now, I can't really think of why I enforced that restriction in the first place.
Hopefully it's not important 🤷♀️ .
2022-09-21 05:46:53 +00:00
Casey Rodarmor
c115b3f317
Allow fewer lints ( #1340 )
2022-09-11 09:25:38 +00:00
Greg Shuflin
7b7efcabc2
Fix issues reported by nightly clippy ( #1336 )
2022-09-11 08:41:24 +00:00
Greg Shuflin
b4d6000dd2
Refactor run.rs ( #1335 )
...
Remove mutation of the color and verbosity variables and make it
slightly easier to figure out how it works.
2022-09-11 08:23:28 +00:00
Erik Krieg
154930cc8a
Allow constructing absolute paths with /
operator ( #1320 )
2022-09-11 07:48:02 +00:00
Casey Rodarmor
baaa8cb194
Allow comments on same line as settings ( #1339 )
2022-09-10 15:19:49 -07:00
Casey Rodarmor
aed7ca1678
Release 1.4.0 ( #1308 )
...
* Release 1.4.0
- Bump version: 1.3.0 → 1.4.0
- Update to Edition 2021
- Update changelog
- Update dependencies
- Update man page
2022-08-08 20:17:38 -07:00
Casey Rodarmor
7c0a960555
Fix shell setting precedence ( #1306 )
2022-08-09 02:50:31 +00:00
Casey Rodarmor
4a4c669db9
Split Recipe::run into Recipe::{run_shebang,run_linewise} ( #1270 )
2022-07-21 01:46:52 +00:00
Nick Kocharhook
e1f729efbc
Improve error message if if
is missing the else
( #1252 )
2022-06-30 10:34:11 +00:00
Casey Rodarmor
a46be41699
Add /
operator ( #1237 )
2022-06-25 09:39:06 +00:00
Evan Richter
bfceb8f9c9
Prevent unbounded recursion when parsing expressions ( #1248 )
2022-06-22 15:00:13 -07:00
Evan Richter
eef0138599
Restore fuzz test harness ( #1246 )
2022-06-21 02:16:02 +00:00
Casey Rodarmor
c625d61abd
Fix multibyte codepoint crash ( #1243 )
...
Co-authored-by: Evan Richter <evanjrichter@gmail.com>
2022-06-21 00:24:13 +00:00
Casey Rodarmor
01fae9b1e4
Do use super::*;
instead of use crate::common::*;
( #1239 )
2022-06-19 04:56:31 +00:00
Casey Rodarmor
c24a194602
Add windows-shell
setting ( #1198 )
2022-05-31 13:01:59 -07:00
Casey Rodarmor
c87909c220
Fix a bunch of typos ( #1204 )
2022-05-29 02:07:53 +00:00
mbodmer
862d6a52ab
SHA-256 and UUID functions ( #1170 )
2022-05-04 23:18:31 +00:00
Casey Rodarmor
12fe9371f6
Generate book from readme ( #1155 )
2022-05-04 06:05:55 +00:00
Casey Rodarmor
db35a58a61
Skip duplicate recipe arguments ( #1174 )
2022-05-04 05:04:55 +00:00
Casey Rodarmor
52f73db33d
Search for missing recipes in parent directory justfiles ( #1149 )
2022-03-31 05:13:59 +00:00
Chris Hamons
7299353977
Add error() function ( #1118 )
2022-03-03 00:48:28 +00:00
Laura Demkowicz-Duffy
a3f61a19ff
Add absolute_path
function ( #1121 )
2022-03-03 00:41:48 +00:00
Casey Rodarmor
3118ce7211
Make path_exists() relative to current directory ( #1122 )
2022-02-28 03:09:31 +00:00
Tim Byrne
63f96037c9
Format --init justfile ( #1116 )
2022-02-23 19:47:43 +00:00
Damian Kula
6271e94bc9
Add path_exists() function ( #1106 )
2022-02-21 21:45:30 +00:00
Greg Lutostanski
bcdaa95a66
Allow duplicate recipes ( #1095 )
2022-02-15 02:37:06 +00:00
Casey Rodarmor
5995221555
Change dotenv-load default to false ( #1082 )
...
This changes the default value of `dotenv-load` from `true` to `false`. This
is a backwards incompatible change, and will require a minor version bump.
2022-02-02 03:16:35 +00:00
Casey Rodarmor
27cd8fd554
Remove call to sed in justfile ( #1078 )
2022-01-30 20:16:10 +00:00
Casey Rodarmor
d7897b4510
Release 0.10.6 ( #1075 )
...
- Bump version: 0.10.5 → 0.10.6
- Remove config test
- Update changelog
- Update dependencies
- Update man page
2022-01-29 21:18:28 +00:00
Michael Lohr
6cf95a7337
Add windows-powershell setting ( #1057 )
2022-01-18 19:02:15 +00:00
Casey Rodarmor
edf1fbd83b
Use Context
suffix for snafu error contexts ( #1068 )
2022-01-04 17:45:27 +00:00
Jake Goulding
c89dad9498
Upgrade snafu to 0.7 ( #1067 )
2022-01-04 16:55:11 +00:00
Casey Rodarmor
3372efefc3
Allow using -
and @
in any order ( #1063 )
2022-01-03 00:51:22 +00:00
Casey Rodarmor
83edb16135
Release 0.10.5 ( #1043 )
...
- Bump version: 0.10.4 → 0.10.5
- Update changelog
- Update config test
- Update dependencies
- Update man page
2021-12-05 07:39:50 +00:00
Kurt Wolf
f70b6711a2
Make completions work with Bash alias ( #1035 )
2021-12-02 03:38:57 +00:00
Casey Rodarmor
1841eb16c6
Release 0.10.4 ( #1031 )
...
- Bump version: 0.10.3 → 0.10.4
- Update changelog
- Update config test
- Update dependencies
- Update man page
2021-11-22 01:08:00 +00:00
Casey Rodarmor
0ae91884e2
Add --dump-format json
( #992 )
2021-11-17 00:07:48 -08:00
David Ringo
53d3c7569c
Use ps1 extension for pwsh shebangs ( #1027 )
2021-11-17 04:24:29 +00:00
Casey Rodarmor
3ef420ccb3
Add quote(s)
function for escaping strings ( #1022 )
...
Replace all single quotes with `'\''` and prepend and append single
quotes to `s`. This is sufficient to escape special characters for many
shells, including most Bourne shell descendants.
2021-11-08 19:22:58 +00:00
Casey Rodarmor
8b49c0cbd1
Ignore leading byte order mark in source files ( #1021 )
2021-11-05 04:35:57 +00:00
Casey Rodarmor
f3abb95c78
Add color to just --fmt --check
diff ( #1015 )
2021-11-01 06:18:11 +00:00