Casey Rodarmor
fbd4a437a0
Run imports in working directory of importer ( #1817 )
2024-01-12 03:00:38 +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
e2c0d86bdd
Optional modules and imports ( #1797 )
2023-12-29 12:16:31 -08: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
e9bec8d398
Stabilize !include path
as import 'path'
( #1771 )
2023-12-20 12:31:51 +08: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
53fec7b449
Fix CI ( #1728 )
2023-11-16 21:51:57 +00:00
Laurent Fourrier
812e1ea3cc
Add dotenv-filename
and dotenv-path
settings ( #1692 )
2023-10-12 05:04:46 +00:00
Casey Rodarmor
72e5b17242
Placate clippy ( #1689 )
2023-10-09 02:34:05 +00:00
Baden Ashford
bba673fd79
Add env() function ( #1613 )
2023-06-13 12:49:46 +00:00
Yuri Astrakhan
a1220c63e3
Cleanup ( #1566 )
2023-06-12 16:53:55 +00:00
Greg Shuflin
687831816d
Allow multiple attributes on one line ( #1537 )
2023-01-27 07:54:24 +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
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
73777f7183
Add OS Configuration Attributes ( #1387 )
2022-10-31 00:52:03 -07: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
28be873dfc
Require set fallback := true
to enable recipe fallback ( #1368 )
2022-10-19 19:00:09 -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
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
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
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
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
Greg Lutostanski
bcdaa95a66
Allow duplicate recipes ( #1095 )
2022-02-15 02:37:06 +00:00
Casey Rodarmor
27cd8fd554
Remove call to sed in justfile ( #1078 )
2022-01-30 20:16:10 +00:00
Michael Lohr
6cf95a7337
Add windows-powershell setting ( #1057 )
2022-01-18 19:02:15 +00:00
Casey Rodarmor
8b49c0cbd1
Ignore leading byte order mark in source files ( #1021 )
2021-11-05 04:35:57 +00:00
Casey Rodarmor
58a196f434
Make join
accept two or more arguments ( #1000 )
2021-10-15 00:00:58 +00:00
Casey Rodarmor
39301e9f8b
Remove deprecated equals error ( #985 )
2021-10-02 01:37:28 +00:00
Casey Rodarmor
0db4589efe
Implement regular expression match conditionals ( #970 )
2021-09-16 23:45:56 +00:00
Casey Rodarmor
09af9bb5e5
Change MSRV to 1.46.0 ( #968 )
2021-09-16 14:51:45 +00:00
Casey Rodarmor
629c75ff04
Use stable rustfmt instead of nightly ( #967 )
2021-09-16 13:44:40 +00:00
Casey Rodarmor
9ee1a63e99
Deduplicate recipe parsing ( #923 )
2021-07-28 05:51:46 +00:00
Casey Rodarmor
1b0fafea75
Add loader and refactor errors ( #917 )
...
This commit adds a `Loader` type, which can be used to load multiple
source strings. This was done to support the work on modules, but
coincidentally enabled consolidating errors, since now `Config::run`
can take a `&Loader`, and in the event of an error, return and `Error`
that borrows from loaded strings. Multiple error types have been
consolidated, and a bunch of ad-hoc error printing was removed.
2021-07-26 01:26:06 -07:00
Casey Rodarmor
98457c05d7
Rename: Module → Ast ( #915 )
2021-07-24 03:26:27 +00:00
Casey Rodarmor
77bba3ee0e
Add subsequent dependencies ( #820 )
...
Subsequents are dependencies which run after a recipe instead of prior.
Subsequents to a recipe only run if the recipe succeeds. Subsequents
will run even if a matching invocation already ran as a prior
dependencies.
2021-07-22 00:20:25 -07:00
Casey Rodarmor
c76805ab9e
Implement else if
chaining ( #910 )
2021-07-20 01:21:46 +00:00
Oleksii Dorozhkin
8677492d56
Add --fmt
subcommand ( #837 )
2021-06-08 01:01:27 -07:00