Compare commits
No commits in common. "e32885ebbb71a72f3038f4c3bc0de61320500d48" and "10e63894c215e90610e79a2950d3bd0b20f1a04b" have entirely different histories.
e32885ebbb
...
10e63894c2
14 changed files with 15 additions and 39 deletions
18
Cargo.toml
18
Cargo.toml
|
@ -1,11 +1,23 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
members = ["crates/*"]
|
members = [
|
||||||
|
"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.1"
|
version = "0.9.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
[workspace.lints.clippy]
|
||||||
nursery = { level = "warn", priority = -1 }
|
nursery = { level = "warn", priority = -1 }
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
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,8 +2,6 @@
|
||||||
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,8 +2,6 @@
|
||||||
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,8 +2,6 @@
|
||||||
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,8 +2,6 @@
|
||||||
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,8 +2,6 @@
|
||||||
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,8 +2,6 @@
|
||||||
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,8 +2,6 @@
|
||||||
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,8 +2,6 @@
|
||||||
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,8 +2,6 @@
|
||||||
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,8 +2,6 @@
|
||||||
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,8 +2,6 @@
|
||||||
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,15 +39,3 @@ 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