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