Commit Graph

499 Commits

Author SHA1 Message Date
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
Greg Shuflin
d499227dcb
Allow matching search path arguments (#1475) 2023-01-12 07:06:17 +00:00
Casey Rodarmor
af54dafa77
Allow recipe parameters to shadow variables (#1480) 2023-01-10 00:59:02 +00:00
Casey Rodarmor
10ad32430b
Stabilize fallback (#1471) 2023-01-04 06:31:56 +00:00
Josh Soref
50f3750842
Fix spelling (#1463) 2022-12-30 20:36:08 +00:00
Casey Rodarmor
157862d398
Merge imports (#1462) 2022-12-28 04:16:18 +00:00
Casey Rodarmor
9887582497
Suppress --fmt --check diff if --quiet is passed (#1457) 2022-12-21 04:57:58 +00:00
Greg Shuflin
fbe1c4c7a3
Allow private attribute on aliases (#1434) 2022-12-20 00:44:19 -08:00
Cameron Steffen
216df31543
Eliminate lazy_static (#1442) 2022-12-15 16:53:21 -08:00
Casey Rodarmor
79dba579f7
Format exported variadic parameters correctly (#1451) 2022-12-15 21:08:53 +00:00
Mike Burns
8ef3148fa8
Use dotenvy instead of dotenv (#1443) 2022-12-15 04:32:27 +00:00
Casey Rodarmor
e0794d0dff
Change fallback setting default to false (#1425) 2022-11-25 21:02:01 +00:00
Casey Rodarmor
e7b7897ae2
Placate clippy (#1423) 2022-11-23 00:36:23 +00:00
Casey Rodarmor
2b46af1cae
Hide recipes with [private] attribute (#1422) 2022-11-23 00:25:57 +00:00
Casey Rodarmor
6ff18af48f
Make include_shebang_line clearer (#1418) 2022-11-19 20:56:26 +00:00
Casey Rodarmor
e27e12ab1a
Omit shebang lines on Windows (#1417) 2022-11-19 20:38:41 +00:00
miles
7d6483b995
Add replace_regex function (#1393) 2022-11-08 06:47:33 +00:00
Casey Rodarmor
331f61f59c
Add [no-cd] attribute (#1400) 2022-11-02 23:37:35 -07:00
Casey Rodarmor
73777f7183
Add OS Configuration Attributes (#1387) 2022-10-31 00:52:03 -07:00
Casey Rodarmor
0bbdb61ec3
Make fallback setting default to true (#1384) 2022-10-27 05:00:31 +00:00
Giancarlo França
be11a26226
Add more case-conversion functions (#1383) 2022-10-27 03:44:18 +00:00
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