mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-29 16:18:44 +08:00
17 lines
460 B
TOML
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}"
|
|
"""
|