more clarity on script

This commit is contained in:
John Smith 2022-01-17 10:17:32 -05:00
parent 4d9f837cd1
commit 22f4fad733
2 changed files with 4 additions and 2 deletions

@ -1 +1 @@
Subproject commit 3713e10599c6078e058aab785ef46594420dc11b Subproject commit 935ca957d7e223ef560a0b20b656730a325e0ba7

View File

@ -52,6 +52,7 @@ cargo install flutter_rust_bridge_codegen
# platform specific stuff # platform specific stuff
if [ "$OS" == "linux" ]; then if [ "$OS" == "linux" ]; then
# ensure packages are installed # ensure packages are installed
echo "Must sudo to root to install LLVM package:"
sudo apt-get install libclang-dev sudo apt-get install libclang-dev
# ensure platforms are enabled in flutter # ensure platforms are enabled in flutter
@ -61,9 +62,10 @@ elif [ "$OS" == "macos" ]; then
# ensure packages are installed # ensure packages are installed
if [ "$BREW_USER" == "" ]; then if [ "$BREW_USER" == "" ]; then
BREW_USER=`ls -lad /opt/homebrew/. | cut -d\ -f4` BREW_USER=`ls -lad /opt/homebrew/. | cut -d\ -f4`
echo "Must sudo to homebrew user \"$BREW_USER\":" echo "Must sudo to homebrew user \"$BREW_USER\" to install LLVM package:"
fi fi
sudo -H -u $BREW_USER brew install llvm sudo -H -u $BREW_USER brew install llvm
echo "Must sudo to root to install CocoaPods gem:"
sudo gem install cocoapods sudo gem install cocoapods
# ensure platforms are enabled in flutter # ensure platforms are enabled in flutter