Compare commits
4 commits
10e63894c2
...
e32885ebbb
Author | SHA1 | Date | |
---|---|---|---|
e32885ebbb | |||
0c7a060211 | |||
e410cfc4f1 | |||
19d1f77065 |
14 changed files with 39 additions and 15 deletions
18
Cargo.toml
18
Cargo.toml
|
@ -1,23 +1,11 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
members = [
|
members = ["crates/*"]
|
||||||
"crates/cli",
|
|
||||||
"crates/server",
|
|
||||||
"crates/server-actor",
|
|
||||||
"crates/config",
|
|
||||||
"crates/git",
|
|
||||||
"crates/forge",
|
|
||||||
"crates/forge-forgejo",
|
|
||||||
"crates/forge-github",
|
|
||||||
"crates/repo-actor",
|
|
||||||
"crates/webhook-actor",
|
|
||||||
"crates/actor-macros",
|
|
||||||
"crates/file-watcher-actor",
|
|
||||||
]
|
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.9.0"
|
version = "0.9.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
[workspace.lints.clippy]
|
||||||
nursery = { level = "warn", priority = -1 }
|
nursery = { level = "warn", priority = -1 }
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
name = "git-next-actor-macros"
|
name = "git-next-actor-macros"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
descripition = "macros for actors for git-next, the trunk-based development manager"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Actors
|
# Actors
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
name = "git-next"
|
name = "git-next"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
descripition = "CLI support for git-next, the trunk-based development manager"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
git-next-server = { workspace = true }
|
git-next-server = { workspace = true }
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
name = "git-next-config"
|
name = "git-next-config"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
descripition = "Base types for git-next, the trunk-based development manager"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["forgejo", "github"]
|
default = ["forgejo", "github"]
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
name = "git-next-file-watcher-actor"
|
name = "git-next-file-watcher-actor"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
descripition = "Config file watcher for git-next, the trunk-based development manager"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
git-next-config = { workspace = true }
|
git-next-config = { workspace = true }
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
name = "git-next-forge-forgejo"
|
name = "git-next-forge-forgejo"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
descripition = "Forgejo support for git-next, the trunk-based development manager"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
git-next-config = { workspace = true }
|
git-next-config = { workspace = true }
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
name = "git-next-forge-github"
|
name = "git-next-forge-github"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
descripition = "GitHub support for git-next, the trunk-based development manager"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
git-next-config = { workspace = true }
|
git-next-config = { workspace = true }
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
name = "git-next-forge"
|
name = "git-next-forge"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
descripition = "Generic forge support for git-next, the trunk-based development manager"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["forgejo", "github"]
|
default = ["forgejo", "github"]
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
name = "git-next-git"
|
name = "git-next-git"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
descripition = "git support for git-next, the trunk-based development manager"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
git-next-config = { workspace = true }
|
git-next-config = { workspace = true }
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
name = "git-next-repo-actor"
|
name = "git-next-repo-actor"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
descripition = "Repository support for git-next, the trunk-based development manager"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["forgejo", "github"]
|
default = ["forgejo", "github"]
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
name = "git-next-server-actor"
|
name = "git-next-server-actor"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
descripition = "Server actor for git-next, the trunk-based development manager"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
git-next-config = { workspace = true }
|
git-next-config = { workspace = true }
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
name = "git-next-server"
|
name = "git-next-server"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
descripition = "server for git-next, the trunk-based development manager"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
git-next-config = { workspace = true }
|
git-next-config = { workspace = true }
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
name = "git-next-webhook-actor"
|
name = "git-next-webhook-actor"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
descripition = "webhook actor for git-next, the trunk-based development manager"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
git-next-config = { workspace = true }
|
git-next-config = { workspace = true }
|
||||||
|
|
12
justfile
12
justfile
|
@ -39,3 +39,15 @@ grcov-coverage:
|
||||||
grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing -o ./target/debug/coverage/
|
grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing -o ./target/debug/coverage/
|
||||||
find . -name '*.profraw' -exec rm "{}" \;
|
find . -name '*.profraw' -exec rm "{}" \;
|
||||||
echo "Now:\n\topen target/debug/coverage/index.html"
|
echo "Now:\n\topen target/debug/coverage/index.html"
|
||||||
|
|
||||||
|
publish version:
|
||||||
|
#!/usr/bin/bash -e
|
||||||
|
# [[ -z $(git status --short) ]] || echo "Worktree is Dirty - aborting" ; exit
|
||||||
|
echo "Clean"
|
||||||
|
# git co v{{version}}
|
||||||
|
ORDER=$(cargo publish-workspace --target-version {{version}} --crate-prefix git-next --show-order 2>/dev/null | cut -d\ -f2-)
|
||||||
|
# INFO: Why not use publish-workspace to publish? It doesn't support when crates-io registry is replaced
|
||||||
|
for P in ${ORDER}
|
||||||
|
do
|
||||||
|
cargo publish --registry crates-io -p $P
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in a new issue