Commit Graph

1026 Commits

Author SHA1 Message Date
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
Casey Rodarmor
0fea73455b
Fix circular variable dependency error message (#909) 2021-07-20 01:10:35 +00:00
Olivier Lemasle
6cf3d204e6
Add install instructions for Fedora Linux (#898) 2021-07-15 07:59:27 +00:00
Rok Fajfar
c5ca9237db
Fix readme typos (#903) 2021-07-10 18:15:29 +00:00
Casey Rodarmor
1742cf0e12
Actually fix release tagging and publish changelog with releases (#901) 2021-07-09 19:58:35 -04:00
Casey Rodarmor
a415d1bdc1
Fix broken prerelease tagging (#900) 2021-07-09 19:19:14 -04:00
Casey Rodarmor
a846a728f1
Use string value for ref-type check (#897) 2021-07-04 04:16:24 +00:00
Casey Rodarmor
32f3132997
Release 0.9.8 (#896)
- Bump version: 0.9.7 → 0.9.8
- Update man page
- Update config test
- Update changelog
2021-07-03 23:58:58 +00:00
Casey Rodarmor
2c8187348b
Fix changelog formatting (#894) 2021-07-03 22:43:25 +00:00
Casey Rodarmor
ba7631964d
Only run install script on CI for non-releases (#895) 2021-07-03 22:30:16 +00:00
Casey Rodarmor
6272151551
Release 0.9.7 (#893)
- Bump version: 0.9.6 → 0.9.7
- Update dependencies
- Update man page
- Update config test
- Update changelog
2021-07-03 21:39:41 +00:00
Casey Rodarmor
d797592365
Remove test-utilities crate (#892) 2021-07-03 21:26:59 +00:00
Liam
a24c86ed5a
Add string manipulation functions (#888) 2021-07-03 19:39:45 +00:00
Casey Rodarmor
ee3b7714f6
Remove outdated note in Cargo.toml (#891) 2021-07-03 19:35:27 +00:00
Casey Rodarmor
9ecf8ab027
Link to GitHub release pages in changelog (#886) 2021-06-26 20:41:07 +00:00
Casey Rodarmor
7aaa20a976
Release v0.9.6 (#884)
- Bump version: 0.9.5 → 0.9.6
- Update dependencies
- Update changelog
- Update man page
- Update config test
2021-06-24 23:56:27 -07:00
Casey Rodarmor
024f8279bc
Add clean function for simplifying paths (#883) 2021-06-25 06:41:20 +00:00
Casey Rodarmor
87e395254b
Add join function for joining paths (#882) 2021-06-24 22:55:29 +00:00
Frederick Zhang
9dc2385c64
Add file_extensions to Sublime syntax file (#878) 2021-06-24 08:24:12 +00:00
Casey Rodarmor
8557a6c6b3
Document path manipulation functions in readme (#877) 2021-06-17 08:06:23 +00:00
Antonio Gelameris
162d2df1ba
Add path manipulation functions (#872) 2021-06-17 07:56:09 +00:00
Casey Rodarmor
4a82c45dda
Release v0.9.5 (#870)
- Bump version: 0.9.4 → 0.9.5
- Update dependencies
- Update changelog
- Update man page
- Update config test
2021-06-12 22:49:27 +00:00
Casey Rodarmor
a6453ded99
Add --unstable flag (#869)
Add an `--unstable` flag, indicating that `just` should enable unstable
features. Make `--fmt` only run if `--unstable` is passed.
2021-06-12 22:34:41 +00:00
Casey Rodarmor
e6b51daaa9
Mention doniogela.dev/just/ in readme (#866) 2021-06-10 00:54:56 -07:00
Casey Rodarmor
1d184e5114
Mention that vim-just is now available from vim-polyglot (#865) 2021-06-10 02:46:08 +00:00
Casey Rodarmor
58fd747a87
Add Sublime Text syntax file (#864) 2021-06-09 19:20:04 -07:00
Oleksii Dorozhkin
8677492d56
Add --fmt subcommand (#837) 2021-06-08 01:01:27 -07:00
Casey Rodarmor
39e76488b5
Mention --list-heading newline behavior (#860) 2021-06-07 00:22:46 -07:00
Casey Rodarmor
73337524b2
Check for rg in bin/forbid (#859) 2021-06-06 19:58:48 -04:00
Casey Rodarmor
1b30cceab8
Document that variables are not exported to backticks in the same scope (#856) 2021-06-04 12:57:26 -04:00
Casey Rodarmor
28fdd36430
Remove dotenv_load from tests (#853) 2021-06-03 01:12:39 -04:00