Commit Graph

806 Commits

Author SHA1 Message Date
Hoàng Đức Hiếu
8eae8c6024
Reword sh not found error messages (#1002) 2021-10-19 07:37:45 +00:00
Casey Rodarmor
58a196f434
Make join accept two or more arguments (#1000) 2021-10-15 00:00:58 +00:00
Casey Rodarmor
6786bb0953
Add trim_end(s) and trim_start(s) functions (#999) 2021-10-14 07:35:15 +00:00
Casey Rodarmor
d6d4b01af4
Add more string manipulation functions (#998) 2021-10-14 07:03:57 +00:00
Casey Rodarmor
a306a47898
Only pass +crt-static to cargo build (#997) 2021-10-14 02:54:58 +00:00
Casey Rodarmor
9ed2c5faa1
Stop using tabs in justfile in editorconfig (#996) 2021-10-14 02:47:14 +00:00
Casey Rodarmor
ae172b1f91
Use consistent rustflags formatting (#994) 2021-10-12 00:23:44 +00:00
Casey Rodarmor
6157436dcd
Use cargo build instead of cargo rustc (#993) 2021-10-12 00:16:30 +00:00
Casey Rodarmor
9512eb403b
Don't skip variables in variable iterator (#991) 2021-10-09 05:04:13 +00:00
Casey Rodarmor
39301e9f8b
Remove deprecated equals error (#985) 2021-10-02 01:37:28 +00:00
Casey Rodarmor
93f88dc8cf
Release 0.10.2 (#979)
- Bump version: 0.10.1 → 0.10.2
- Update changelog
- Update config test
- Update dependencies
- Update man page
- Bump MSRV to 1.47 for libc
2021-09-29 03:04:24 +00:00
Casey Rodarmor
9621f45053
Add detailed instructions for installing prebuilt binaries (#978) 2021-09-24 22:45:52 +00:00
Casey Rodarmor
3f175cae35
Improve readme package table formatting (#977) 2021-09-24 11:32:46 +00:00
Luke Frisken
3f0b3ec2c7
Add conda package to README (#976) 2021-09-24 10:53:46 +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
ca2b596c90
Fix readme typo: FOO → WORLD (#964) 2021-09-14 00:02:22 +00:00
Casey Rodarmor
2815aa6167
Reword Emacs section in readme (#962) 2021-09-12 11:26:11 +00:00
Sibi Prabakaran
d4fe16d17c
Mention justl mode for Emacs (#961) 2021-09-12 14:13:12 +03:00
Casey Rodarmor
fe0d0f46fa
Release 0.10.1 (#958)
- Bump version: 0.10.0 → 0.10.1
- Update changelog
- Update config test
- Update dependencies
- Update man page
2021-08-28 00:21:59 +00:00
Casey Rodarmor
4f9a77fff6
Fix error message tests for Alpine Linux (#956) 2021-08-28 00:01:50 +00:00
Casey Rodarmor
dbf142369b
Bump target version to 2.0 (#957) 2021-08-27 23:36:41 +00:00
Casey Rodarmor
f4a15c7192
Mention tree-sitter-just in readme (#951) 2021-08-19 02:08:37 +00:00
Casey Rodarmor
7a13cbad5a
Document release RSS feed in readme (#950) 2021-08-15 23:13:39 +00:00
dm9pZCAq
731b00a51f
Add installation instructions for Gentoo Linux (#946) 2021-08-13 22:49:51 +00:00
Casey Rodarmor
4db0d15289
Make GitHub Actions instructions more prominent (#944) 2021-08-10 23:18:13 +00:00
Matt Boulanger
e72e7dd569
Add flags for specifying name and path environment file (#941) 2021-08-08 22:37:35 -07:00
Casey Rodarmor
f5689617f4
Wrap --help text to terminal width (#940) 2021-08-05 01:03:22 +00:00
Casey Rodarmor
7b58ec135c
Add .justfile to sublime syntax file_extensions (#938) 2021-08-04 05:26:27 +00:00
Casey Rodarmor
f93f7086e8
Suggest using ~/.global.justfile instead of ~/.justfile (#937)
Since `just` now looks for files named `.justfile` in addition to
`justfile`, suggest using `~/.global.justfile` as the name for a global
justfile.
2021-08-03 22:02:58 -07:00
Casey Rodarmor
bdec18546b
Update man page (#935) 2021-08-03 01:44:01 +00:00
Casey Rodarmor
289accada9
Release 0.10.0 (#934)
- Bump version: 0.9.9 → 0.10.0
- Update changelog
- Update config test
- Update dependencies
- Update man page
2021-08-03 01:33:40 +00:00
Casey Rodarmor
5bb4b4a382
Add --changelog subcommand (#932) 2021-07-31 20:53:27 +00:00
Casey Rodarmor
9c3bbc9fa7
Support .justfile as an alternative to justfile (#931) 2021-07-31 19:25:49 +00:00
Casey Rodarmor
0662e4c042
Use cargo-limit for all recipes (#928)
`cargo-limit` provides cargo command wrappers that only print warnings
if no errors are encounter, print the first warning last so it's easy to
see, and more.

This PR modifies the just recipe to use the `cargo-limit` versions of
commands where applicable.

Cargo limit can be installed with:

  cargo install cargo-limit
2021-07-29 07:09:22 +00:00
Casey Rodarmor
7efb82f4cb
Fix colors (#927)
- Re-enable error colors
- Color argument count mismatch usage string
2021-07-29 01:27:47 +00:00
Casey Rodarmor
27cf2b96df
Use ColorDisplay trait to print objects to the terminal (#926) 2021-07-29 01:06:57 +00:00
Casey Rodarmor
1f20ca6481
Warn if .env file is loaded in dotenv-load isn't explicitly set (#925)
If a `.env` file is found and loaded, but the `dotenv-load` setting hasn't been explicitly
set to true, print a warning to stderr. In approximately six months, `dotenv-load` will
change from defaulting to true to defaulting to false, which will be a potentially breaking
change in behavior for justfiles which elicit this warning.

See this issue for more details:

    https://github.com/casey/just/issues/469
2021-07-28 07:33:44 +00:00
Casey Rodarmor
9ee1a63e99
Deduplicate recipe parsing (#923) 2021-07-28 05:51:46 +00:00
Casey Rodarmor
ce0376cfdf
Move subcommand functions into Subcommand (#918) 2021-07-27 00:19:52 +00:00
Casey Rodarmor
4ada364ede
Check GitHub Actions workflow with actionlint (#921) 2021-07-27 00:14:20 +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
2a4c5ae0f0
Release 0.9.9 (#913)
- Bump version: 0.9.8 → 0.9.9
- Update changelog
- Update config test
- Update dependencies
- Update man page
2021-07-22 07:56:36 +00:00
Casey Rodarmor
985f15004f
Document new features (#914) 2021-07-22 07:51:42 +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
Matias Kinnunen
7bbc38a261
Improve readme (#904) 2021-07-20 17:49:20 -07:00
Casey Rodarmor
06d207a1ab
Add screenshot to readme (#911) 2021-07-20 01:48:13 +00:00
Casey Rodarmor
c76805ab9e
Implement else if chaining (#910) 2021-07-20 01:21:46 +00:00