Skip to content

Commit

Permalink
Release 0.10.1 (#958)
Browse files Browse the repository at this point in the history
- Bump version: 0.10.0 → 0.10.1
- Update changelog
- Update config test
- Update dependencies
- Update man page
  • Loading branch information
casey authored Aug 28, 2021
1 parent 4f9a77f commit fe0d0f4
Show file tree
Hide file tree
Showing 10 changed files with 84 additions and 36 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
----------------------------------------------------------------------

Expand Down
50 changes: 33 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "just"
version = "0.10.0"
version = "0.10.1"
description = "🤖 Just a command runner"
authors = ["Casey Rodarmor <[email protected]>"]
license = "CC0-1.0"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
36 changes: 25 additions & 11 deletions man/just.1
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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>
Expand All @@ -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
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
🤖 Just a command runner \
- https://github.com/casey/just
Expand Down
2 changes: 1 addition & 1 deletion tests/choose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())),
Expand Down
2 changes: 1 addition & 1 deletion tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
2 changes: 1 addition & 1 deletion tests/edit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())),
Expand Down
2 changes: 1 addition & 1 deletion tests/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit fe0d0f4

Please sign in to comment.