Release 0.10.1 (#958)

- Bump version: 0.10.0 → 0.10.1
- Update changelog
- Update config test
- Update dependencies
- Update man page
This commit is contained in:
Casey Rodarmor 2021-08-27 17:21:59 -07:00 committed by GitHub
parent 4f9a77fff6
commit fe0d0f46fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 85 additions and 37 deletions

View File

@ -1,6 +1,24 @@
Changelog
=========
[0.10.1](https://github.com/casey/just/releases/tag/0.10.1) - 2021-8-27
----------------------------------------------------------------------
### Added
- Add flags for specifying name and path to environment file (#941)
### Misc
- Fix error message tests for Alpine Linux (#956)
- Bump `target` version to 2.0 (#957)
- Mention `tree-sitter-just` in readme (#951)
- Document release RSS feed in readme (#950)
- Add installation instructions for Gentoo Linux (#946)
- Make GitHub Actions instructions more prominent (#944)
- Wrap `--help` text to terminal width (#940)
- Add `.justfile` to sublime syntax file_extensions (#938)
- Suggest using `~/.global.justfile` instead of `~/.justfile` (#937)
- Update man page (#935)
[0.10.0](https://github.com/casey/just/releases/tag/0.10.0) - 2021-8-2
----------------------------------------------------------------------

52
Cargo.lock generated
View File

@ -41,10 +41,16 @@ dependencies = [
]
[[package]]
name = "bitflags"
version = "1.2.1"
name = "autocfg"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
[[package]]
name = "bitflags"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "camino"
@ -82,9 +88,9 @@ dependencies = [
[[package]]
name = "cradle"
version = "0.0.16"
version = "0.0.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d90b228d90bc41886e0a04820dec38dcaf8cb347b5838827219885bd2151edc1"
checksum = "08eadebbd9d797e6ae68c04c8d2e82c280d97dc2d35341995c210024f4958648"
dependencies = [
"rustversion",
]
@ -101,9 +107,9 @@ dependencies = [
[[package]]
name = "ctrlc"
version = "3.1.9"
version = "3.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "232295399409a8b7ae41276757b5a1cc21032848d42bff2352261f958b3ca29a"
checksum = "377c9b002a72a0b2c1a18c62e2f3864bdfea4a015e3683a96e24aa45dd6c02d1"
dependencies = [
"nix",
"winapi",
@ -206,7 +212,7 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]]
name = "just"
version = "0.10.0"
version = "0.10.1"
dependencies = [
"ansi_term 0.12.1",
"atty",
@ -251,9 +257,9 @@ checksum = "441225017b106b9f902e97947a6d31e44ebcf274b91bdbfb51e5c477fcd468e5"
[[package]]
name = "libc"
version = "0.2.98"
version = "0.2.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790"
checksum = "3cb00336871be5ed2c8ed44b60ae9959dc5b9f08539422ed43f09e34ecaeba21"
[[package]]
name = "linked-hash-map"
@ -272,20 +278,30 @@ dependencies = [
[[package]]
name = "memchr"
version = "2.4.0"
version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
[[package]]
name = "memoffset"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9"
dependencies = [
"autocfg",
]
[[package]]
name = "nix"
version = "0.20.0"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa9b4819da1bc61c0ea48b63b7bc8604064dd43013e7cc325df098d49cd7c18a"
checksum = "cf1e25ee6b412c2a1e3fcb6a4499a5c1bfe7f43e014bdce9a6b6666e5aa2d187"
dependencies = [
"bitflags",
"cc",
"cfg-if",
"libc",
"memoffset",
]
[[package]]
@ -399,9 +415,9 @@ dependencies = [
[[package]]
name = "redox_syscall"
version = "0.2.9"
version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ab49abadf3f9e1c4bc499e8845e152ad87d2ad2d30371841171169e9d75feee"
checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff"
dependencies = [
"bitflags",
]
@ -521,9 +537,9 @@ dependencies = [
[[package]]
name = "syn"
version = "1.0.74"
version = "1.0.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1873d832550d4588c3dbc20f01361ab00bfe741048f71e3fecf145a7cc18b29c"
checksum = "b7f58f7e8eaa0009c5fec437aabf511bd9933e4b2d7407bd05273c01a8906ea7"
dependencies = [
"proc-macro2",
"quote",

View File

@ -1,6 +1,6 @@
[package]
name = "just"
version = "0.10.0"
version = "0.10.1"
description = "🤖 Just a command runner"
authors = ["Casey Rodarmor <casey@rodarmor.com>"]
license = "CC0-1.0"
@ -48,7 +48,7 @@ version = "0.21.0"
features = ["derive"]
[dev-dependencies]
cradle = "0.0.16"
cradle = "0.0.22"
executable-path = "1.0.0"
pretty_assertions = "0.7.0"
regex = "1.5.4"

View File

@ -62,7 +62,7 @@ check: actionlint fmt clippy test forbid
git checkout Cargo.lock
publish-check: check man
cargo outdated --exit-code 1
cargo outdated --root-deps-only --exit-code 1
# publish to crates.io and push release tag to github
publish: publish-check

View File

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15.
.TH JUST "1" "August 2021" "just 0.10.0" "Just Manual"
.TH JUST "1" "August 2021" "just 0.10.1" "Just Manual"
.SH NAME
just \- save and run commands
.SH DESCRIPTION
just 0.10.0
just 0.10.1
\- Please see https://github.com/casey/just for more information.
.SS "USAGE:"
.IP
@ -14,8 +14,9 @@ just [FLAGS] [OPTIONS] [\-\-] [ARGUMENTS]...
Print changelog
.TP
\fB\-\-choose\fR
Select one or more recipes to run using a binary. If `\-\-chooser` is not passed the chooser
defaults to the value of $JUST_CHOOSER, falling back to `fzf`
Select one or more recipes to run using a binary. If `\-\-chooser` is
not passed the chooser defaults to the value of $JUST_CHOOSER,
falling back to `fzf`
.TP
\fB\-\-clear\-shell\-args\fR
Clear shell arguments
@ -27,11 +28,12 @@ Print what just would do without doing it
Print entire justfile
.TP
\fB\-e\fR, \fB\-\-edit\fR
Edit justfile with editor given by $VISUAL or $EDITOR, falling back to `vim`
Edit justfile with editor given by $VISUAL or $EDITOR, falling back
to `vim`
.TP
\fB\-\-evaluate\fR
Evaluate and print all variables. If a variable name is given as an argument, only print
that variable's value.
Evaluate and print all variables. If a variable name is given as an
argument, only print that variable's value.
.TP
\fB\-\-fmt\fR
Format and overwrite justfile
@ -55,7 +57,8 @@ Don't highlight echoed recipe lines in bold
Suppress all output
.TP
\fB\-\-shell\-command\fR
Invoke <COMMAND> with the shell used to run recipe lines and backticks
Invoke <COMMAND> with the shell used to run recipe lines and
backticks
.TP
\fB\-\-summary\fR
List names of available recipes
@ -93,7 +96,16 @@ Run an arbitrary command with the working directory, `.env`, overrides, and expo
.HP
\fB\-\-completions\fR <SHELL>
.IP
Print shell completion script for <SHELL> [possible values: zsh, bash, fish, powershell, elvish]
Print shell completion script for <SHELL> [possible values: zsh, bash, fish,
powershell, elvish]
.HP
\fB\-\-dotenv\-filename\fR <DOTENV_FILENAME>
.IP
Search for environment file named <DOTENV\-FILENAME> instead of `.env`
.HP
\fB\-\-dotenv\-path\fR <DOTENV_PATH>
.IP
Load environment file at <DOTENV\-PATH> instead of searching for one
.TP
\fB\-f\fR, \fB\-\-justfile\fR <JUSTFILE>
Use <JUSTFILE> as justfile
@ -109,8 +121,9 @@ Override <VARIABLE> with <VALUE>
.TP
\fB\-\-shell\fR <SHELL>
Invoke <SHELL> to run recipes [default: sh]
.TP
.HP
\fB\-\-shell\-arg\fR <SHELL\-ARG>...
.IP
Invoke shell with <SHELL\-ARG> as an argument [default: \fB\-cu]\fR
.TP
\fB\-s\fR, \fB\-\-show\fR <RECIPE>
@ -122,4 +135,5 @@ Use <WORKING\-DIRECTORY> as working directory. \fB\-\-justfile\fR must also be s
.SS "ARGS:"
.TP
<ARGUMENTS>...
Overrides and recipe(s) to run, defaulting to the first recipe in the justfile
Overrides and recipe(s) to run, defaulting to the first recipe in the
justfile

View File

@ -585,7 +585,7 @@ mod tests {
// have proper tests for all the flags, but this will do for now.
#[test]
fn help() {
const EXPECTED_HELP: &str = "just 0.10.0
const EXPECTED_HELP: &str = "just 0.10.1
Casey Rodarmor <casey@rodarmor.com>
🤖 Just a command runner \
- https://github.com/casey/just

View File

@ -144,7 +144,7 @@ fn status_error() {
"exit-2": "#!/usr/bin/env bash\nexit 2\n",
};
cmd_unit!(%"chmod +x", tmp.path().join("exit-2"));
("chmod", "+x", tmp.path().join("exit-2")).run();
let path = env::join_paths(
iter::once(tmp.path().to_owned()).chain(env::split_paths(&env::var_os("PATH").unwrap())),

View File

@ -11,7 +11,7 @@ pub(crate) use std::{
str,
};
pub(crate) use cradle::cmd_unit;
pub(crate) use cradle::input::Input;
pub(crate) use executable_path::executable_path;
pub(crate) use just::unindent;
pub(crate) use libc::{EXIT_FAILURE, EXIT_SUCCESS};

View File

@ -64,7 +64,7 @@ fn status_error() {
"exit-2": "#!/usr/bin/env bash\nexit 2\n",
};
cmd_unit!(%"chmod +x", tmp.path().join("exit-2"));
("chmod", "+x", tmp.path().join("exit-2")).run();
let path = env::join_paths(
iter::once(tmp.path().to_owned()).chain(env::split_paths(&env::var_os("PATH").unwrap())),

View File

@ -53,7 +53,7 @@ fn write_error() {
let justfile_path = test.justfile_path();
cmd_unit!(%"chmod 400", &justfile_path);
("chmod", "400", &justfile_path).run();
let _tempdir = test.run();