114 Commits

Author SHA1 Message Date
Casey Rodarmor
dd9792571b
Fix unexport syntax conflicts () 2024-06-14 19:39:34 +00:00
Greg Shuflin
1ca53e8b22
Add [ATTRIBUTE: VALUE] shorthand () 2024-06-08 18:33:45 +00:00
Greg Shuflin
38873dcb74
Allow unexporting environment variables () 2024-06-05 20:16:47 +00:00
Casey Rodarmor
f2201d8684
Add set dotenv-required to require an environment file () 2024-05-30 23:12:07 +00:00
Casey Rodarmor
db52d95146
Add module_file() and module_directory() functions () 2024-05-29 03:06:30 +00:00
Casey Rodarmor
16a27dba87
List unsorted imported recipes by import depth and offset () 2024-05-26 01:10:06 +00:00
Greg Shuflin
ed0dc20318
Add recipe groups () 2024-05-25 07:32:25 +00:00
Casey Rodarmor
1654d14867
Forbid whitespace in shell-expanded string prefixes () 2024-05-25 03:56:03 +00:00
Casey Rodarmor
198b37c020
Allow shell expanded strings in mod and import paths () 2024-05-19 16:47:25 -07:00
Casey Rodarmor
104608d8cc
Run imported recipes in root justfile with correct working directory () 2024-05-19 06:38:57 +00:00
Casey Rodarmor
b1c7491486
Add shell-expanded strings () 2024-05-19 05:41:38 +00:00
adamnemecek
b85540007e
Cleanup () 2024-05-14 20:07:41 -07:00
Elizaveta Demina
9aea3e679b
Add assert expression () 2024-05-15 01:55:32 +00:00
Markus
e11684008e
Add 'allow-duplicate-variables' setting () 2024-05-15 01:39:42 +00:00
Marc
8bd411de45
Allow setting custom confirm prompt () 2024-01-13 02:44:13 +00:00
David Harrigan
5bbc89b718
Add set quiet and [no-quiet] () 2024-01-12 20:38:23 +00:00
Casey Rodarmor
fbd4a437a0
Run imports in working directory of importer () 2024-01-12 03:00:38 +00:00
Casey Rodarmor
1ea5e6ac31
Don't conflate recipes with the same name in different modules () 2024-01-08 13:26:33 -08:00
Casey Rodarmor
e2c0d86bdd
Optional modules and imports () 2023-12-29 12:16:31 -08:00
Casey Rodarmor
8ea278c58b
Override imported recipes () 2023-12-28 17:34:37 -08:00
Casey Rodarmor
a1bd70a030
Run recipes with working directory set to submodule directory () 2023-12-29 00:55:36 +00:00
Casey Rodarmor
94b3af6cb7
Allow mod statements with path to source file () 2023-12-28 12:23:58 +00:00
Casey Rodarmor
316ea01295
Add modules () 2023-12-28 04:27:15 +00:00
Casey Rodarmor
e9bec8d398
Stabilize !include path as import 'path' () 2023-12-20 12:31:51 +08:00
Casey Rodarmor
7337447d42
Add file paths to error messages () 2023-11-22 04:17:38 +00:00
Greg Shuflin
f745316e88
Move !include processing into compiler () 2023-11-21 11:28:59 -08:00
Casey Rodarmor
53fec7b449
Fix CI () 2023-11-16 21:51:57 +00:00
Laurent Fourrier
812e1ea3cc
Add dotenv-filename and dotenv-path settings () 2023-10-12 05:04:46 +00:00
Casey Rodarmor
72e5b17242
Placate clippy () 2023-10-09 02:34:05 +00:00
Baden Ashford
bba673fd79
Add env() function () 2023-06-13 12:49:46 +00:00
Yuri Astrakhan
a1220c63e3
Cleanup () 2023-06-12 16:53:55 +00:00
Greg Shuflin
687831816d
Allow multiple attributes on one line () 2023-01-27 07:54:24 +00:00
Josh Soref
50f3750842
Fix spelling () 2022-12-30 20:36:08 +00:00
Casey Rodarmor
157862d398
Merge imports () 2022-12-28 04:16:18 +00:00
Greg Shuflin
fbe1c4c7a3
Allow private attribute on aliases () 2022-12-20 00:44:19 -08:00
Cameron Steffen
216df31543
Eliminate lazy_static () 2022-12-15 16:53:21 -08:00
Casey Rodarmor
73777f7183
Add OS Configuration Attributes () 2022-10-31 00:52:03 -07:00
David Matos
beeaa6ce2d Add tempdir setting () 2022-10-25 16:57:32 -07:00
Gökhan Karabulut
8b7640b633
Add [no-exit-message] recipe annotation ()
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 () 2022-10-19 19:00:09 -07:00
Greg Shuflin
e445cfb47d
Add skip-comments setting ()
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 () 2022-09-11 09:25:38 +00:00
Greg Shuflin
7b7efcabc2
Fix issues reported by nightly clippy () 2022-09-11 08:41:24 +00:00
Erik Krieg
154930cc8a
Allow constructing absolute paths with / operator () 2022-09-11 07:48:02 +00:00
Casey Rodarmor
baaa8cb194
Allow comments on same line as settings () 2022-09-10 15:19:49 -07:00
Nick Kocharhook
e1f729efbc
Improve error message if if is missing the else () 2022-06-30 10:34:11 +00:00
Casey Rodarmor
a46be41699
Add / operator () 2022-06-25 09:39:06 +00:00
Evan Richter
bfceb8f9c9
Prevent unbounded recursion when parsing expressions () 2022-06-22 15:00:13 -07:00
Casey Rodarmor
01fae9b1e4
Do use super::*; instead of use crate::common::*; () 2022-06-19 04:56:31 +00:00
Casey Rodarmor
c24a194602
Add windows-shell setting () 2022-05-31 13:01:59 -07:00