mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-08 04:28:42 +08:00
18 lines
503 B
TOML
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
|
|
"""
|