mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 21:04:18 +08:00
Install iced tour as well as styling example
This commit is contained in:
parent
6545cf036d
commit
f1087a3ed8
@ -11,13 +11,16 @@ dependencies = [
|
||||
]
|
||||
script = """
|
||||
set -x
|
||||
${COOKBOOK_CARGO} rustc \
|
||||
--release \
|
||||
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
|
||||
--package styling \
|
||||
-- \
|
||||
-L "${COOKBOOK_SYSROOT}/lib" \
|
||||
-C link-args="-Wl,-Bstatic $("${TARGET}-pkg-config" --libs osmesa) -lz -lstdc++ -lc -lgcc"
|
||||
mkdir -pv "${COOKBOOK_STAGE}/bin"
|
||||
cp -v "target/${TARGET}/release/styling" "${COOKBOOK_STAGE}/bin/iced"
|
||||
for example in styling tour
|
||||
do
|
||||
${COOKBOOK_CARGO} rustc \
|
||||
--release \
|
||||
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
|
||||
--package "${example}" \
|
||||
-- \
|
||||
-L "${COOKBOOK_SYSROOT}/lib" \
|
||||
-C link-args="-Wl,-Bstatic $("${TARGET}-pkg-config" --libs osmesa) -lz -lstdc++ -lc -lgcc"
|
||||
mkdir -pv "${COOKBOOK_STAGE}/bin"
|
||||
cp -v "target/${TARGET}/release/${example}" "${COOKBOOK_STAGE}/bin/iced-${example}"
|
||||
done
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user