mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
Fix a recipe
This commit is contained in:
parent
abf9220fa9
commit
4fa15ba593
@ -1,9 +1,16 @@
|
||||
#TODO discover how to build the bins
|
||||
#TODO not compiled or tested
|
||||
[source]
|
||||
git = "https://github.com/gosub-browser/gosub-engine"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
cookbook_cargo --bin gosub-parser css3-parser renderer \
|
||||
style-parser
|
||||
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}"
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user