chore: full rename
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-08-12 21:42:13 +02:00
parent 2cd9509fcb
commit 26ef1cb0cd
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394
7 changed files with 9 additions and 9 deletions

2
Cargo.lock generated
View File

@ -418,7 +418,7 @@ dependencies = [
]
[[package]]
name = "cuddle_cli"
name = "cuddle"
version = "0.1.0"
dependencies = [
"anyhow",

View File

@ -1,3 +1,3 @@
[workspace]
members = ["cuddle_cli", "examples/base", "ci"]
members = ["cuddle", "examples/base", "ci"]
resolver = "2"

View File

@ -3,7 +3,7 @@
Cuddle CLI is a Rust command-line interface application designed to manage
configuration variables and scripts across projects. It simplifies sharing of
code and workflows, making development and collaboration smoother and more
efficient. This project is published on crates.io as `cuddle_cli`.
efficient. This project is published on crates.io as `cuddle`.
## Table of Contents
@ -22,7 +22,7 @@ Make sure you have Rust and Cargo installed. You can install Rust and Cargo from
To install Cuddle CLI, run:
```sh
cargo install cuddle_cli
cargo install cuddle
```
## Usage

View File

@ -14,7 +14,7 @@ async fn main() -> eyre::Result<()> {
HostDirectoryOptsBuilder::default()
.include(vec![
"ci/",
"cuddle_cli/",
"cuddle/",
"examples",
"Cargo.lock",
"Cargo.toml",
@ -86,7 +86,7 @@ async fn dind_image(
"--target",
&format!("{architecture}-unknown-linux-musl"),
"--path",
"cuddle_cli",
"cuddle",
"--profile=release",
]);

View File

@ -1,6 +1,6 @@
#!/bin/bash
CUDDLE_FETCH_POLICY=never cuddle_cli render_template \
CUDDLE_FETCH_POLICY=never cuddle render_template \
--template-file "$TMP/input.txt.tmpl" \
--destination "$TMP/input.txt" \
--extra-var "extravar=someextravar"

View File

@ -1,5 +1,5 @@
#!/bin/bash
cargo install --path cuddle_cli/
cargo install --path cuddle/
cuddle --version

View File

@ -16,7 +16,7 @@ WORKDIR /app/cuddle/
COPY . .
RUN cargo install --target x86_64-unknown-linux-musl --path cuddle_cli
RUN cargo install --target x86_64-unknown-linux-musl --path cuddle
FROM docker:dind