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
#!/bin/bash | |
cd ../../ | |
if [ "$1" == "--clean" ] | |
then | |
echo "Running clean..." | |
flutter clean | |
else | |
echo "Skipping clean..." | |
fi | |
if [ "$1" == "--apk" ] |
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
#!/bin/bash | |
cd ../../ | |
echo "Running tests" | |
flutter test |
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
# Update fastlane automatically | |
update_fastlane | |
default_platform(:android) | |
platform :android do | |
desc "Build android aab and apk" | |
lane :build_android do |options| | |
sh "./flutter_test.sh" | |
# Build AAB |
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
#!/bin/bash | |
cd ../../ | |
if [ "$1" == "--clean" ] | |
then | |
echo "Running clean..." | |
flutter clean | |
else | |
echo "Skipping clean..." | |
fi | |
flutter build ios --release --no-codesign |
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
#!/bin/bash | |
cd ../../ | |
echo "Running tests" | |
flutter test |
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
# Automatically update fastlane | |
update_fastlane | |
default_platform(:ios) | |
# Default temporary keychain password and name, if not included from environment | |
TEMP_KEYCHAIN_NAME_DEFAULT = "fastlane_flutter" | |
TEMP_KEYCHAN_PASSWORD_DEFAULT = "temppassword" | |
# Remove the temporary keychain, if it exists |
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
release_notes({ | |
'default' => File.read('./fastlane/metadata/en-US/release_notes.txt'), | |
'en-US' => File.read('./fastlane/metadata/en-US/release_notes.txt') | |
}); | |
submission_information({ | |
add_id_info_serves_ads: false, | |
add_id_info_tracks_action: false, | |
add_id_info_tracks_install: false, | |
add_id_info_uses_idfa: false, |
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
stages: | |
- test | |
- update | |
- build | |
- deploy |
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
tests: | |
stage: test | |
only: | |
- master | |
tags: | |
- appditto_mac | |
script: | |
- flutter test | |
interruptible: true |
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
update: | |
stage: update | |
only: | |
- master | |
tags: | |
- appditto_mac | |
script: | |
- flutter packages get | |
- flutter packages upgrade | |
interruptible: true |
OlderNewer