redox/recipes/iced/recipe.toml
2022-12-07 22:35:32 -07:00

22 lines
463 B
TOML

[source]
git = "https://gitlab.redox-os.org/redox-os/iced.git"
branch = "redox"
[build]
template = "custom"
script = """
EXAMPLES=(
styling
)
set -x
for example in "${EXAMPLES[@]}"
do
${COOKBOOK_CARGO} build \
--release \
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
--package "${example}"
mkdir -pv "${COOKBOOK_STAGE}/bin"
cp -v "target/${TARGET}/release/${example}" "${COOKBOOK_STAGE}/bin/iced_${example}"
done
"""