fix: restore ratatui deps in cub-tui, add cubl host recipe

This commit is contained in:
2026-05-08 00:41:13 +01:00
parent 7706617e7f
commit 44ed766291
3 changed files with 25 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
[source]
same_as = "../../system/cub"
[build]
template = "custom"
dev-dependencies = ["host:rust"]
script = """
DYNAMIC_INIT
cd "${COOKBOOK_SOURCE}/source"
cargo build --release --target x86_64-unknown-linux-gnu -p cub-cli
mkdir -p "${COOKBOOK_STAGE}/usr/bin"
cp target/x86_64-unknown-linux-gnu/release/cub "${COOKBOOK_STAGE}/usr/bin/cubl"
chmod +x "${COOKBOOK_STAGE}/usr/bin/cubl"
"""
[package]
description = "Cub package manager for Linux build host (cubl)"
@@ -11,4 +11,9 @@ name = "cub_tui"
path = "src/lib.rs"
[dependencies]
cub = { package = "cub-lib", path = "../cub-lib" }
ratatui = { version = "0.30", default-features = false, features = ["termion"] }
termion = "4.0.6"
[dev-dependencies]
tempfile = "3"
+1
View File
@@ -0,0 +1 @@
../../local/recipes/dev/cubl