Try to fix the ratzilla recipe and update TODOs

This commit is contained in:
Ribbon 2025-07-03 08:12:58 -03:00
parent a6cdb3f9de
commit 883cb05808
3 changed files with 14 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#TODO not compiled or tested
#TODO wayland-backend crate error
[source]
git = "https://github.com/Jkeyuk/JDbrowser"
[build]

View File

@ -1,4 +1,4 @@
#TODO not compiled or tested
#TODO compiled but not tested
[source]
git = "https://github.com/gdt050579/AppCUI-rs"
[build]

View File

@ -4,6 +4,17 @@ git = "https://github.com/orhun/ratzilla"
[build]
template = "custom"
script = """
cookbook_cargo_packages animations canvas-stress-test canvas-waves \
recipe="$(basename "${COOKBOOK_RECIPE}")"
for package in animations canvas-stress-test canvas-waves \
colors-rgb demo demo2 minimal pong text-area user-input website world-map
do
"${COOKBOOK_CARGO}" build \
--manifest-path "${COOKBOOK_SOURCE}/examples/${PACKAGE_PATH}/Cargo.toml" \
--package "${package}" \
--release \
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
cp -v \
"target/${TARGET}/${build_type}/examples/${package}" \
"${COOKBOOK_STAGE}/usr/bin/${recipe}_${package}"
done
"""