bevy/examples/ios/build_rust_deps.sh

13 lines
251 B
Bash
Raw Normal View History

#!/bin/sh
set -e
PATH=$PATH:$HOME/.cargo/bin
# If you want your build to run faster, add a "--targets x86_64-apple-ios" for just using the ios simulator.
if [ -n ${IOS_TARGETS} ]; then
cargo lipo --targets ${IOS_TARGETS}
else
cargo lipo
fi