mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 21:34:18 +08:00
Update recipes
This commit is contained in:
parent
5a3fcbde03
commit
1070ccd6ef
@ -4,6 +4,14 @@ git = "https://github.com/Wayoung7/firework-rs"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
cookbook_cargo_packages firework-rs
|
||||
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
|
||||
"""
|
||||
|
||||
@ -4,5 +4,18 @@ git = "https://github.com/ardaku/fonterator"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
cookbook_cargo_examples main directions image raster
|
||||
recipe="$(basename "${COOKBOOK_RECIPE}")"
|
||||
examples="main directions image raster"
|
||||
for example in "${examples}"
|
||||
do
|
||||
"${COOKBOOK_CARGO}" build \
|
||||
--manifest-path "${COOKBOOK_SOURCE}/${PACKAGE_PATH}/Cargo.toml" \
|
||||
--example "${example}" \
|
||||
--release \
|
||||
--features "monospace-font"
|
||||
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
|
||||
cp -v \
|
||||
"target/${TARGET}/${build_type}/examples/${example}" \
|
||||
"${COOKBOOK_STAGE}/usr/bin/${recipe}_${example}"
|
||||
done
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user