mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-25 06:07:27 +03:00
8031d6bf64
* xtask/pipeline: Fix publish task which was previously stuck in an infinite loop after successfully publishing a crate. The error originated in the code only checking for error conditions but not breaking out of the inner infinite loop in case of success. * xtask: Improve publish failure UX by offering the user more actions to choose from when an error occured. * utils/assets: Add generated prost files to assets to make sure they're available at build time and are picked up by all components. It seems we hit some strange bug with the build script where, when running `cargo publish --dry-run` the build script **is not** run before regularly compiling zellij-utils. This shouldn't happen according to the docs, but I cannot explain what's causing it. So we're using this as a workaround for now to make a smooth release. * xtask: Prevent accidental git commit deletion when dry-running a publish. * utils: Add comments to protobuf-related code to explain why these changes were performed. The comments all include a link to an issue comment explaining the situation in greater detail. * xtask: Build protobuf definitions when building any part of the project, similar to how we build the plugins when required. This should ensure that all crates built through `cargo xtask` (which is the officially supported build method) will receive up-to-date protobuf definitions.
11 lines
419 B
Rust
11 lines
419 B
Rust
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Command {
|
|
#[prost(string, tag = "1")]
|
|
pub path: ::prost::alloc::string::String,
|
|
#[prost(string, repeated, tag = "2")]
|
|
pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
|
|
#[prost(string, optional, tag = "3")]
|
|
pub cwd: ::core::option::Option<::prost::alloc::string::String>,
|
|
}
|