From ccb026365aea90ce616ed653aa0dcd59a4132ef4 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 29 Jul 2023 15:29:36 +0200 Subject: [PATCH] feat: rename to cuddle_please Signed-off-by: kjuulh --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- crates/{cuddle-release => cuddle-please}/.gitignore | 0 crates/{cuddle-release => cuddle-please}/Cargo.toml | 2 +- crates/{cuddle-release => cuddle-please}/src/command.rs | 0 crates/{cuddle-release => cuddle-please}/src/lib.rs | 0 crates/{cuddle-release => cuddle-please}/src/main.rs | 0 crates/{cuddle-release => cuddle-please}/src/ui.rs | 0 .../testdata/cuddle-embed/cuddle.yaml | 0 .../testdata/cuddle-please/cuddle.please.yaml | 0 crates/{cuddle-release => cuddle-please}/tests/common/mod.rs | 2 +- crates/{cuddle-release => cuddle-please}/tests/config.rs | 2 +- cuddle.yaml | 2 +- 13 files changed, 7 insertions(+), 7 deletions(-) rename crates/{cuddle-release => cuddle-please}/.gitignore (100%) rename crates/{cuddle-release => cuddle-please}/Cargo.toml (93%) rename crates/{cuddle-release => cuddle-please}/src/command.rs (100%) rename crates/{cuddle-release => cuddle-please}/src/lib.rs (100%) rename crates/{cuddle-release => cuddle-please}/src/main.rs (100%) rename crates/{cuddle-release => cuddle-please}/src/ui.rs (100%) rename crates/{cuddle-release => cuddle-please}/testdata/cuddle-embed/cuddle.yaml (100%) rename crates/{cuddle-release => cuddle-please}/testdata/cuddle-please/cuddle.please.yaml (100%) rename crates/{cuddle-release => cuddle-please}/tests/common/mod.rs (98%) rename crates/{cuddle-release => cuddle-please}/tests/config.rs (98%) diff --git a/Cargo.lock b/Cargo.lock index 57f9f4d..d92fced 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -180,7 +180,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] -name = "cuddle-release" +name = "cuddle-please" version = "0.1.0" dependencies = [ "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 8aab6a1..d7a4938 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,9 @@ [workspace] -members = ["crates/cuddle-release"] +members = ["crates/cuddle-please"] resolver = "2" [workspace.dependencies] -cuddle-release = { path = "crates/cuddle-release" } +cuddle-please = { path = "crates/cuddle-please" } anyhow = { version = "1.0.71" } tokio = { version = "1", features = ["full"] } diff --git a/crates/cuddle-release/.gitignore b/crates/cuddle-please/.gitignore similarity index 100% rename from crates/cuddle-release/.gitignore rename to crates/cuddle-please/.gitignore diff --git a/crates/cuddle-release/Cargo.toml b/crates/cuddle-please/Cargo.toml similarity index 93% rename from crates/cuddle-release/Cargo.toml rename to crates/cuddle-please/Cargo.toml index 13590bd..d4fcbd4 100644 --- a/crates/cuddle-release/Cargo.toml +++ b/crates/cuddle-please/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "cuddle-release" +name = "cuddle-please" version = "0.1.0" edition = "2021" diff --git a/crates/cuddle-release/src/command.rs b/crates/cuddle-please/src/command.rs similarity index 100% rename from crates/cuddle-release/src/command.rs rename to crates/cuddle-please/src/command.rs diff --git a/crates/cuddle-release/src/lib.rs b/crates/cuddle-please/src/lib.rs similarity index 100% rename from crates/cuddle-release/src/lib.rs rename to crates/cuddle-please/src/lib.rs diff --git a/crates/cuddle-release/src/main.rs b/crates/cuddle-please/src/main.rs similarity index 100% rename from crates/cuddle-release/src/main.rs rename to crates/cuddle-please/src/main.rs diff --git a/crates/cuddle-release/src/ui.rs b/crates/cuddle-please/src/ui.rs similarity index 100% rename from crates/cuddle-release/src/ui.rs rename to crates/cuddle-please/src/ui.rs diff --git a/crates/cuddle-release/testdata/cuddle-embed/cuddle.yaml b/crates/cuddle-please/testdata/cuddle-embed/cuddle.yaml similarity index 100% rename from crates/cuddle-release/testdata/cuddle-embed/cuddle.yaml rename to crates/cuddle-please/testdata/cuddle-embed/cuddle.yaml diff --git a/crates/cuddle-release/testdata/cuddle-please/cuddle.please.yaml b/crates/cuddle-please/testdata/cuddle-please/cuddle.please.yaml similarity index 100% rename from crates/cuddle-release/testdata/cuddle-please/cuddle.please.yaml rename to crates/cuddle-please/testdata/cuddle-please/cuddle.please.yaml diff --git a/crates/cuddle-release/tests/common/mod.rs b/crates/cuddle-please/tests/common/mod.rs similarity index 98% rename from crates/cuddle-release/tests/common/mod.rs rename to crates/cuddle-please/tests/common/mod.rs index aeba0d9..3c801bd 100644 --- a/crates/cuddle-release/tests/common/mod.rs +++ b/crates/cuddle-please/tests/common/mod.rs @@ -1,4 +1,4 @@ -use cuddle_release::ui::{DynUi, Ui}; +use cuddle_please::ui::{DynUi, Ui}; use std::{ io::Write, diff --git a/crates/cuddle-release/tests/config.rs b/crates/cuddle-please/tests/config.rs similarity index 98% rename from crates/cuddle-release/tests/config.rs rename to crates/cuddle-please/tests/config.rs index c4705d4..8acff95 100644 --- a/crates/cuddle-release/tests/config.rs +++ b/crates/cuddle-please/tests/config.rs @@ -3,7 +3,7 @@ pub mod common; use std::path::PathBuf; use common::BufferUi; -use cuddle_release::command::Command; +use cuddle_please::command::Command; use tracing_test::traced_test; fn get_base_args<'a>() -> Vec<&'a str> { diff --git a/cuddle.yaml b/cuddle.yaml index c66acea..dd76cb4 100644 --- a/cuddle.yaml +++ b/cuddle.yaml @@ -3,7 +3,7 @@ base: "git@git.front.kjuulh.io:kjuulh/cuddle-base.git" vars: - service: "cuddle-release" + service: "cuddle-please" registry: kasperhermansen mkdocs_image: "squidfunk/mkdocs-material:9.1"