Skip to content

Commit

Permalink
chore: Release mise version 2024.2.17
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 22, 2024
1 parent 1d0fb78 commit 17e6351
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mise"
version = "2024.2.16"
version = "2024.2.17"
edition = "2021"
description = "The front-end to your dev env"
authors = ["Jeff Dickey (@jdx)"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Install mise (other methods [here](https://mise.jdx.dev/getting-started.html)):
```sh-session
$ curl https://mise.run | sh
$ ~/.local/bin/mise --version
mise 2024.2.16
mise 2024.2.17
```

Hook mise into your shell (pick the right one for your shell):
Expand Down
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

rustPlatform.buildRustPackage {
pname = "mise";
version = "2024.2.16";
version = "2024.2.17";

src = lib.cleanSource ./.;

Expand Down
4 changes: 2 additions & 2 deletions man/man1/mise.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH mise 1 "mise 2024.2.16"
.TH mise 1 "mise 2024.2.17"
.SH NAME
mise \- The front\-end to your dev env
.SH SYNOPSIS
Expand Down Expand Up @@ -183,6 +183,6 @@ Examples:
$ mise settings Show settings in use
$ mise settings set color 0 Disable color by modifying global config file
.SH VERSION
v2024.2.16
v2024.2.17
.SH AUTHORS
Jeff Dickey <@jdx>
2 changes: 1 addition & 1 deletion packaging/rpm/mise.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Summary: The front-end to your dev env
Name: mise
Version: 2024.2.16
Version: 2024.2.17
Release: 1
URL: https://github.com/jdx/mise/
Group: System
Expand Down
2 changes: 1 addition & 1 deletion src/cli/asdf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn list_versions(config: &Config, args: &[String]) -> Result<()> {
all: false,
plugin: args.get(3).map(|s| s.parse()).transpose()?,
}
.run();
.run();
}
let ts = ToolsetBuilder::new().build(config)?;
let mut versions = ts.list_installed_versions()?;
Expand Down
2 changes: 1 addition & 1 deletion src/cli/completion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl Completion {
"--usage-cmd",
"mise usage"
)
.run();
.run();
if res.is_err() {
return self.prerendered(shell);
}
Expand Down
2 changes: 1 addition & 1 deletion src/cli/config/generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl ConfigGenerate {
# # setup a custom alias so you can run `mise use -g node@work` for node-16.x
# work = '16'
"#
.trim();
.trim();
if let Some(output) = &self.output {
info!("writing to {}", display_path(output));
file::write(output, doc)?;
Expand Down
6 changes: 3 additions & 3 deletions src/cli/doctor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ fn mise_dirs() -> String {
("state", &*dirs::STATE),
("shims", &dirs::SHIMS.as_path()),
]
.iter()
.map(|(k, p)| format!("{k}: {}", display_path(p)))
.join("\n")
.iter()
.map(|(k, p)| format!("{k}: {}", display_path(p)))
.join("\n")
}

fn mise_env_vars() -> String {
Expand Down
4 changes: 2 additions & 2 deletions src/cli/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ mod tests {
}

fn run_test<T>(test: T)
where
T: FnOnce() + panic::UnwindSafe,
where
T: FnOnce() + panic::UnwindSafe,
{
let _ = file::remove_file(env::current_dir().unwrap().join(".test.mise.toml"));
let cf_path = env::current_dir().unwrap().join(".test-tool-versions");
Expand Down
3 changes: 2 additions & 1 deletion src/cli/plugins/ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ impl PluginsLs {
ep.repo_url = Some(url.to_string());
tools.insert(Arc::new(ep));
}
} else if self.user && self.core {} else if self.core {
} else if self.user && self.core {
} else if self.core {
tools.retain(|p| matches!(p.get_plugin_type(), PluginType::Core));
} else {
tools.retain(|p| matches!(p.get_plugin_type(), PluginType::External));
Expand Down
2 changes: 1 addition & 1 deletion src/cli/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ fn last_modified_glob_match(
last_modified_file(files)
}

fn last_modified_file(files: impl IntoIterator<Item=PathBuf>) -> Result<Option<SystemTime>> {
fn last_modified_file(files: impl IntoIterator<Item = PathBuf>) -> Result<Option<SystemTime>> {
Ok(files
.into_iter()
.unique()
Expand Down
6 changes: 3 additions & 3 deletions src/cli/use.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ pub struct Use {
/// e.g.: node@20, cargo:ripgrep@latest npm:prettier@3
/// If no version is specified, it will default to @latest
#[clap(
value_name = "TOOL@VERSION",
verbatim_doc_comment,
required_unless_present = "remove"
value_name = "TOOL@VERSION",
verbatim_doc_comment,
required_unless_present = "remove"
)]
tool: Vec<ToolArg>,

Expand Down
2 changes: 1 addition & 1 deletion src/cli/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub static ARCH: Lazy<String> = Lazy::new(|| {
"aarch64" => "arm64",
_ => std::env::consts::ARCH,
}
.to_string()
.to_string()
});

pub static VERSION: Lazy<String> = Lazy::new(|| {
Expand Down

0 comments on commit 17e6351

Please sign in to comment.