From 251a7c937116d9c4b84d45ad97ad822daa00c272 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Thu, 9 May 2024 23:24:36 +0200 Subject: [PATCH] refactor: sort enum --- crates/pop-cli/src/commands/install/mod.rs | 48 +++++++++++----------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/crates/pop-cli/src/commands/install/mod.rs b/crates/pop-cli/src/commands/install/mod.rs index f608ee60..d3036555 100644 --- a/crates/pop-cli/src/commands/install/mod.rs +++ b/crates/pop-cli/src/commands/install/mod.rs @@ -10,42 +10,42 @@ use tokio::{fs, process::Command}; #[derive(Display)] pub enum DEPENDENCIES { - #[strum(serialize = "homebrew")] - Homebrew, - #[strum(serialize = "protobuf")] - Protobuf, - #[strum(serialize = "openssl")] - Openssl, - #[strum(serialize = "rustup")] - Rustup, + #[strum(serialize = "build-essential")] + BuildEssential, + #[strum(serialize = "clang")] + Clang, + #[strum(serialize = "clang-devel")] + ClangDevel, #[strum(serialize = "cmake")] Cmake, #[strum(serialize = "curl")] Curl, + #[strum(serialize = "gcc")] + Gcc, #[strum(serialize = "git")] Git, - #[strum(serialize = "clang")] - Clang, + #[strum(serialize = "homebrew")] + Homebrew, + #[strum(serialize = "libclang-dev")] + LibClang, + #[strum(serialize = "libssl-dev")] + Libssl, #[strum(serialize = "make")] Make, + #[strum(serialize = "openssl")] + Openssl, + #[strum(serialize = "openssl-devel")] + OpenSslDevel, #[strum(serialize = "openssl-1.0")] Openssl1, - #[strum(serialize = "libssl-dev")] - Libssl, - #[strum(serialize = "protobuf-compiler")] - ProtobufCompiler, #[strum(serialize = "pkg-config")] PkgConfig, - #[strum(serialize = "gcc")] - Gcc, - #[strum(serialize = "build-essential")] - BuildEssential, - #[strum(serialize = "libclang-dev")] - LibClang, - #[strum(serialize = "openssl-devel")] - OpenSslDevel, - #[strum(serialize = "clang-devel")] - ClangDevel, + #[strum(serialize = "protobuf")] + Protobuf, + #[strum(serialize = "protobuf-compiler")] + ProtobufCompiler, + #[strum(serialize = "rustup")] + Rustup, } #[derive(Args)]