Skip to content
Snippets Groups Projects
Verified Commit f1087a3e authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Install iced tour as well as styling example

parent 6545cf03
No related branches found
No related tags found
No related merge requests found
...@@ -11,13 +11,16 @@ dependencies = [ ...@@ -11,13 +11,16 @@ dependencies = [
] ]
script = """ script = """
set -x set -x
${COOKBOOK_CARGO} rustc \ for example in styling tour
--release \ do
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \ ${COOKBOOK_CARGO} rustc \
--package styling \ --release \
-- \ --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
-L "${COOKBOOK_SYSROOT}/lib" \ --package "${example}" \
-C link-args="-Wl,-Bstatic $("${TARGET}-pkg-config" --libs osmesa) -lz -lstdc++ -lc -lgcc" -- \
mkdir -pv "${COOKBOOK_STAGE}/bin" -L "${COOKBOOK_SYSROOT}/lib" \
cp -v "target/${TARGET}/release/styling" "${COOKBOOK_STAGE}/bin/iced" -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
""" """
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment