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