This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shard plugins for example app builds (#623)
- Loading branch information
1 parent
cb59fc8
commit c7fe014
Showing
4 changed files
with
84 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
wget https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip | ||
mkdir android-sdk | ||
unzip -qq sdk-tools-linux-3859397.zip -d android-sdk | ||
export ANDROID_HOME=`pwd`/android-sdk | ||
export PATH=`pwd`/android-sdk/tools/bin:$PATH | ||
mkdir -p /home/travis/.android # silence sdkmanager warning | ||
echo 'count=0' > /home/travis/.android/repositories.cfg # silence sdkmanager warning | ||
# suppressing output of sdkmanager to keep log under 4MB (travis limit) | ||
echo y | sdkmanager "tools" >/dev/null | ||
echo y | sdkmanager "platform-tools" >/dev/null | ||
echo y | sdkmanager "build-tools;26.0.3" >/dev/null | ||
echo y | sdkmanager "platforms;android-26" >/dev/null | ||
echo y | sdkmanager "extras;android;m2repository" >/dev/null | ||
echo y | sdkmanager "extras;google;m2repository" >/dev/null | ||
echo y | sdkmanager "patcher;v4" >/dev/null | ||
sdkmanager --list | ||
wget http://services.gradle.org/distributions/gradle-4.1-bin.zip | ||
unzip -qq gradle-4.1-bin.zip | ||
export GRADLE_HOME=$PWD/gradle-4.1 | ||
export PATH=$GRADLE_HOME/bin:$PATH | ||
gradle -v | ||
git clone https://github.com/flutter/flutter.git | ||
export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH | ||
flutter doctor | ||
pub global activate flutter_plugin_tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
brew update | ||
brew install libimobiledevice | ||
brew install ideviceinstaller | ||
brew install ios-deploy | ||
pod repo update | ||
gem update cocoapods | ||
git clone https://github.com/flutter/flutter.git | ||
export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH | ||
flutter doctor | ||
pub global activate flutter_plugin_tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters