Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 66166b47f0 | |||
| b72ca67302 |
@@ -2,11 +2,18 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [1.4.2] - 2025-05-18
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- Clippy fixes
|
||||
|
||||
## [1.4.1] - 2025-04-06
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- Upgrade deps
|
||||
- Release
|
||||
|
||||
## [1.4.0] - 2025-04-06
|
||||
|
||||
|
||||
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -40,7 +40,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "comlexr"
|
||||
version = "1.4.1"
|
||||
version = "1.4.2"
|
||||
dependencies = [
|
||||
"comlexr_macro",
|
||||
"rstest",
|
||||
@@ -51,7 +51,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "comlexr_macro"
|
||||
version = "1.4.1"
|
||||
version = "1.4.2"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
||||
@@ -4,7 +4,7 @@ members = ["macro"]
|
||||
[workspace.package]
|
||||
description = "Dynamically build Command objects with conditional expressions"
|
||||
repository = "https://gitlab.com/wunker-bunker/comlexr"
|
||||
version = "1.4.1"
|
||||
version = "1.4.2"
|
||||
edition = "2021"
|
||||
rust-version = "1.60"
|
||||
license = "MIT"
|
||||
@@ -43,7 +43,7 @@ pre-release-replacements = [
|
||||
all-features = true
|
||||
|
||||
[dependencies]
|
||||
comlexr_macro = { version = "=1.4.1", path = "./macro" }
|
||||
comlexr_macro = { version = "=1.4.2", path = "./macro" }
|
||||
thiserror = "1.0.65"
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -8,7 +8,7 @@ Add `comlexr` to your project's `Cargo.toml`:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
comlexr = "1.4.1"
|
||||
comlexr = "1.4.2"
|
||||
```
|
||||
|
||||
## MSRV
|
||||
|
||||
@@ -90,7 +90,7 @@ impl ToTokens for Pipe {
|
||||
|
||||
if !_output.status.success() {
|
||||
return Err(::comlexr::ExecutorError::FailedCommand{
|
||||
command: #prev_com_ident,
|
||||
command: std::boxed::Box::new(#prev_com_ident),
|
||||
exit_code: _output.status.code().unwrap_or(1),
|
||||
});
|
||||
}
|
||||
|
||||
@@ -24,7 +24,10 @@ pub enum ExecutorError {
|
||||
.collect::<Vec<_>>()
|
||||
.join(" "),
|
||||
)]
|
||||
FailedCommand { command: Command, exit_code: i32 },
|
||||
FailedCommand {
|
||||
command: Box<Command>,
|
||||
exit_code: i32,
|
||||
},
|
||||
|
||||
/// No stdin Error
|
||||
#[error("Unable to get mutable stdin")]
|
||||
|
||||
Reference in New Issue
Block a user