redox/recipes/wip/demos/firework-rs/recipe.toml
2024-12-04 08:33:28 +00:00

18 lines
503 B
TOML

#TODO fix the script
[source]
git = "https://github.com/Wayoung7/firework-rs"
[build]
template = "custom"
script = """
package=firework-rs
"${COOKBOOK_CARGO}" build \
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
--package "${package}" \
--release
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
cp -v \
"target/${TARGET}/release/${package}" \
"${COOKBOOK_STAGE}/usr/bin/${package}"
cookbook_cargo_examples fountain heart vortex
"""