Skip to content

Instantly share code, notes, and snippets.

@josh-burton
Last active March 3, 2018 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josh-burton/24add2371978b3a67a609f3e00aea2f8 to your computer and use it in GitHub Desktop.
Save josh-burton/24add2371978b3a67a609f3e00aea2f8 to your computer and use it in GitHub Desktop.
install flutter on bitrise
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
cd ..
git clone -b dev https://github.com/flutter/flutter.git
export PATH=`pwd`/flutter/bin:$PATH
envman add --key PATH --value $PATH
brew install --HEAD libimobiledevice
brew install ideviceinstaller
brew install ios-deploy
flutter doctor
echo "Installed flutter to `pwd`/flutter"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment