feat: add force and cuddle
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 2024-12-22 11:36:25 +01:00
parent 819bcc68c6
commit 960682a45b
4 changed files with 39 additions and 15 deletions

View File

@ -1,9 +1,2 @@
kind: template
kind: pipeline load: cuddle-rust-cli-plan.yaml
type: docker
name: "test"
steps:
- name: test
image: harbor.front.kjuulh.io/docker-proxy/library/bash:latest
commands:
- echo 'Run tests'

View File

@ -1,6 +1,12 @@
[workspace]
members = ["crates/gitignore_inner", "."]
[workspace.package]
version = "0.1.2"
[package] [package]
name = "kignore" name = "kignore"
version = "0.1.2" version.workspace = true
authors = ["Kasper J. Hermansen <contact@kjuulh.io>"] authors = ["Kasper J. Hermansen <contact@kjuulh.io>"]
license = "MIT" license = "MIT"
readme = "README.md" 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"] categories = ["command-line-interface"]
edition = "2021" edition = "2021"
[workspace]
members = ["crates/gitignore_inner"]
[dependencies] [dependencies]
eyre = "0.6.12" eyre = "0.6.12"
gitignore_inner = { path = "crates/gitignore_inner", version = "0.1.0" } gitignore_inner = { path = "crates/gitignore_inner", version = "0.1.0" }

View File

@ -1,6 +1,6 @@
[package] [package]
name = "gitignore_inner" name = "gitignore_inner"
version = "0.1.0" version.workspace = true
edition = "2021" edition = "2021"
authors = ["Kasper J. Hermansen <contact@kjuulh.io>"] authors = ["Kasper J. Hermansen <contact@kjuulh.io>"]
license = "MIT" license = "MIT"
@ -20,4 +20,7 @@ clap = { version = "4.5.4", features = ["env", "unicode", "string"] }
console = "0.15.8" console = "0.15.8"
eyre = "0.6.12" eyre = "0.6.12"
tracing = { version = "0.1.40", features = ["log"] } 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",
] }

25
cuddle.yaml Normal file
View File

@ -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