redox/recipes/wip/web/gosub/recipe.toml
2024-07-01 05:13:52 +00:00

17 lines
460 B
TOML

#TODO not compiled or tested
[source]
git = "https://github.com/gosub-browser/gosub-engine"
[build]
template = "custom"
script = """
binary=renderer
"${COOKBOOK_CARGO}" build \
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
--bin "${binary}" \
--release
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
cp -v \
"target/${TARGET}/release/${binary}" \
"${COOKBOOK_STAGE}/usr/bin/${binary}"
"""