mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-05 02:58:42 +08:00
22 lines
463 B
TOML
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
|
|
"""
|