Commit Graph

148 Commits

Author SHA1 Message Date
Casey Rodarmor
42691e1043
Add recipe for testing bash completion script (#2221) 2024-07-04 17:49:54 +00:00
Casey Rodarmor
0de971942a
Allow printing nu completion script with just --completions nushell (#2140) 2024-06-08 21:56:21 +00:00
Casey Rodarmor
3c40c0c6eb
Don't check in manpage (#2130) 2024-06-05 19:17:05 +00:00
Greg Shuflin
77a6e02964
Add --timestamp-format (#2106) 2024-05-29 09:28:45 +00:00
Casey Rodarmor
a9b0912b2b
Add --man subcommand (#2041) 2024-05-15 07:28:50 +00:00
N
d18bdef799
Use --command-color when printing shebang recipe commands (#1911) 2024-05-15 00:53:59 +00:00
Trevor Gross
6d7df19557
Fix install.sh shellcheck warnings (#1912) 2024-02-20 05:40:27 +00:00
Casey Rodarmor
cf57613da7
Add a dash to tempdir prefix (#1828) 2024-01-09 07:52:15 +00:00
Casey Rodarmor
f7aa201200
Release 1.17.0 (#1770)
- Bump version: 1.16.0 → 1.17.0
- Update changelog
- Update changelog contributor credits
- Update dependencies
- Update man page
- Update version references in readme
2023-12-20 02:33:33 +00:00
Casey Rodarmor
63c0234c96
Release 1.16.0 (#1720)
- Bump version: 1.15.0 → 1.16.0
- Update changelog
- Update changelog contributor credits
- Update dependencies
- Update man page
- Update version references in readme
2023-11-08 21:43:26 +00:00
Yuri Astrakhan
be7f161554
Misc fixes (#1700) 2023-10-17 03:07:09 +00:00
Laurent Fourrier
812e1ea3cc
Add dotenv-filename and dotenv-path settings (#1692) 2023-10-12 05:04:46 +00:00
Casey Rodarmor
fdf4b5b859
Ignore chooser tests (#1513) 2023-01-16 08:42:34 +00:00
Casey Rodarmor
d74c7a3bd5
Release 1.8.0 (#1398)
- Bump version: 1.7.0 → 1.8.0
- Update changelog
- Update dependencies
- Update man page
2022-11-02 23:57:33 +00:00
Casey Rodarmor
5e932c49fc
Credit contributors in changelog (#1385) 2022-10-27 05:48:39 +00:00
Casey Rodarmor
dc9f458937
Prepend commit messages with - in changelog (#1379) 2022-10-25 21:42:11 +00:00
Casey Rodarmor
11feadcf89
Fail publish if <sup>master</sup> is found in README.md (#1378) 2022-10-25 04:11:35 +00:00
Casey Rodarmor
7680b19979
Inline setup and cleanup functions in completion script test (#1352) 2022-09-23 20:54:18 -07:00
Casey Rodarmor
3135db5e51
Fix justfile env shebang on Linux (#1330)
Add `-S` to the env invocation in the main justfile's shebang, which is
required on Linux.
2022-09-04 04:18:53 +00:00
Casey Rodarmor
4a4c669db9
Split Recipe::run into Recipe::{run_shebang,run_linewise} (#1270) 2022-07-21 01:46:52 +00:00
Christopher Morrow
d7fd57e420
Add mdbook deps for build-book recipe (#1258) (#1259) 2022-07-06 20:36:28 +00:00
Casey Rodarmor
a46be41699
Add / operator (#1237) 2022-06-25 09:39:06 +00:00
Casey Rodarmor
c710d5a685
Fix book links (#1227) 2022-06-13 01:02:09 +00:00
Casey Rodarmor
c87909c220
Fix a bunch of typos (#1204) 2022-05-29 02:07:53 +00:00
Casey Rodarmor
95de4eb1f8
Remove cargo-limit usage from justfile (#1199) 2022-05-28 05:52:09 +00:00
Casey Rodarmor
27cd8fd554
Remove call to sed in justfile (#1078) 2022-01-30 20:16:10 +00:00
Casey Rodarmor
4de93e19b8
Push to correct origin in publish recipe (#1044) 2021-12-05 07:46:46 +00:00
Casey Rodarmor
e84dc0ff8f
Publish from GitHub master branch instead of local master (#1032) 2021-11-21 17:28:42 -08:00
Casey Rodarmor
629c75ff04
Use stable rustfmt instead of nightly (#967) 2021-09-16 13:44:40 +00: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
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
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
9ecf8ab027
Link to GitHub release pages in changelog (#886) 2021-06-26 20:41:07 +00:00
Casey Rodarmor
28fdd36430
Remove dotenv_load from tests (#853) 2021-06-03 01:12:39 -04:00
Casey Rodarmor
0a9ffd7a7b
Remove v prefix from version (#850) 2021-06-01 23:37:40 +00:00
Casey Rodarmor
d8c00ac2e4
Add forbid script (#827) 2021-05-10 23:58:05 -07:00
Casey Rodarmor
4cb82e0c1f
Remove summary feature (#823)
Remove the `summary` feature and make the `summary` module always build.
It's a small module, so it shouldn't hurt compile times, and it should
prevent accidental breakages that are only caught on CI.
2021-05-08 19:07:51 -07:00
Casey Rodarmor
7bc9d3986e
Fix bang lexing and placate clippy (#821) 2021-05-07 00:14:38 -07:00
Casey Rodarmor
2e8c58e1cd
Change publish recipe to use stable rust (#777) 2021-03-28 16:10:37 -07:00
Casey Rodarmor
19f7ad09a7
Add conditional expressions (#714)
Add conditional expressions of the form:

   foo := if lhs == rhs { then } else { otherwise }

`lhs`, `rhs`, `then`, and `otherwise` are all arbitrary expressions, and
can recursively include other conditionals. Conditionals short-circuit,
so the branch not taken isn't evaluated.

It is also possible to test for inequality with `==`.
2020-10-26 18:16:42 -07:00
Casey Rodarmor
2e6e48d8f4
Release v0.5.11 (#629)
- Bump version: `0.5.10` -> `0.5.11`
- Update changelog
- Update dependencies
- Update man page
- Update config test
- Publish to cargo last in release recipe
2020-05-23 20:59:11 -07:00
Casey Rodarmor
875fb41e40
Make man page manual name title case (#623) 2020-04-08 12:54:54 -07:00
Casey Rodarmor
f73de24fd7
Add log variable to justfile (#621)
Allows logging to be controlled with, for example:

    just log=trace run
2020-03-31 00:00:05 -07:00
Casey Rodarmor
985a6a833d
Release v0.5.10 (#613)
- Bump version: `0.5.9` -> `0.5.10`
- Update changelog
- Update dependencies
- Update man page
- Update config test
- Fix publish and check recipes
2020-03-18 09:03:21 -07:00
Casey Rodarmor
8fea09a3dd
Release v0.5.9 (#612)
- Bump version number: `0.5.8` -> `0.5.9`
- Update changelog
- Update dependencies
- Update config test
- Add `pr` and `push` to justfile
2020-03-18 08:19:43 -07:00
Casey Rodarmor
1dbc765390
Add --variables subcommand that prints variable names (#608)
Add a subcommand that prints out a space-separated list of the names of
top-level variables in the justfile.

The syntax is:

    $ just --variables
    a b c

This can be used for any purpose, but is mostly intended for completion
scripts, so that they can get the names of variables without using
`--evaluate`.

Additionally:

- Add `bin/generate-completions` script to regenerate checked-in
  completions
- Update dependencies
- Regenerate checked-in completions
2020-03-13 22:19:43 -07:00
Casey Rodarmor
3ec7dea4a3
Use unstable rustfmt configuration options (#592) 2020-02-10 20:07:06 -08:00
Casey Rodarmor
aceee3e217
Release v0.5.7 (#591)
- Bump version: v0.5.7 -> v0.5.8
- Update changelog
- Update man page
- Update config test
- Update dependencies
2020-02-06 12:25:09 -08:00
Casey Rodarmor
b1ebf63124
Improve comments in justfile (#588) 2020-01-31 00:47:48 -08:00