From 960682a45b250354fba1fb372a5c04e878590e11 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 22 Dec 2024 11:36:25 +0100 Subject: [PATCH] feat: add force and cuddle Signed-off-by: kjuulh --- .drone.yml | 11 ++--------- Cargo.toml | 11 +++++++---- crates/gitignore_inner/Cargo.toml | 7 +++++-- cuddle.yaml | 25 +++++++++++++++++++++++++ 4 files changed, 39 insertions(+), 15 deletions(-) create mode 100644 cuddle.yaml diff --git a/.drone.yml b/.drone.yml index 44c6321..77bff5c 100755 --- a/.drone.yml +++ b/.drone.yml @@ -1,9 +1,2 @@ - -kind: pipeline -type: docker -name: "test" -steps: - - name: test - image: harbor.front.kjuulh.io/docker-proxy/library/bash:latest - commands: - - echo 'Run tests' +kind: template +load: cuddle-rust-cli-plan.yaml diff --git a/Cargo.toml b/Cargo.toml index 8fdb3d5..f758820 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,12 @@ +[workspace] +members = ["crates/gitignore_inner", "."] + +[workspace.package] +version = "0.1.2" + [package] name = "kignore" -version = "0.1.2" +version.workspace = true authors = ["Kasper J. Hermansen "] license = "MIT" readme = "README.md" @@ -13,9 +19,6 @@ kignore is a tool for easily adding patterns to .gitignore and cleaning up after categories = ["command-line-interface"] edition = "2021" -[workspace] -members = ["crates/gitignore_inner"] - [dependencies] eyre = "0.6.12" gitignore_inner = { path = "crates/gitignore_inner", version = "0.1.0" } diff --git a/crates/gitignore_inner/Cargo.toml b/crates/gitignore_inner/Cargo.toml index c192b3c..e594867 100644 --- a/crates/gitignore_inner/Cargo.toml +++ b/crates/gitignore_inner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gitignore_inner" -version = "0.1.0" +version.workspace = true edition = "2021" authors = ["Kasper J. Hermansen "] license = "MIT" @@ -20,4 +20,7 @@ clap = { version = "4.5.4", features = ["env", "unicode", "string"] } console = "0.15.8" eyre = "0.6.12" tracing = { version = "0.1.40", features = ["log"] } -tracing-subscriber = { version = "0.3.18", features = ["local-time", "env-filter"] } +tracing-subscriber = { version = "0.3.18", features = [ + "local-time", + "env-filter", +] } diff --git a/cuddle.yaml b/cuddle.yaml new file mode 100644 index 0000000..ae8cf16 --- /dev/null +++ b/cuddle.yaml @@ -0,0 +1,25 @@ +# yaml-language-server: $schema=https://git.front.kjuulh.io/kjuulh/cuddle/raw/branch/main/schemas/base.json + +base: "git@git.front.kjuulh.io:kjuulh/cuddle-rust-cli-plan.git" + +vars: + service: "gitignore" + registry: kasperhermansen + +please: + project: + owner: kjuulh + repository: gitignore + branch: main + settings: + api_url: https://git.front.kjuulh.io + actions: + rust: + +components: + packages: + debian: + dev: + - git + release: + - git