Skip to content

Commit aa74c81

Browse files
committed
With update flutter build commands
1 parent b12d859 commit aa74c81

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ matrix:
3333
- export PATH=$GRADLE_HOME/bin:$PATH
3434
- git clone https://github.com/flutter/flutter.git -b stable --depth 1
3535
script:
36-
- ./flutter/bin/flutter -v build apk
36+
- ./flutter/bin/flutter -v build apk -t lib/main_prod.dart
3737

3838
- os: osx
3939
language: generic
@@ -48,7 +48,7 @@ matrix:
4848
- brew install ios-deploy
4949
- git clone https://github.com/flutter/flutter.git -b alpha --depth 1
5050
script:
51-
- ./flutter/bin/flutter -v build ios --no-codesign
51+
- ./flutter/bin/flutter -v build ios -t lib/main_prod.dart --no-codesign
5252

5353
cache:
5454
directories:

ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ PODS:
2424
- Flutter
2525

2626
DEPENDENCIES:
27-
- Flutter (from `.symlinks/flutter/ios`)
27+
- Flutter (from `.symlinks/flutter/ios-release`)
2828
- flutter_stetho (from `.symlinks/plugins/flutter_stetho/ios`)
2929
- image_picker (from `.symlinks/plugins/image_picker/ios`)
3030
- launch_review (from `.symlinks/plugins/launch_review/ios`)
@@ -41,7 +41,7 @@ SPEC REPOS:
4141

4242
EXTERNAL SOURCES:
4343
Flutter:
44-
:path: ".symlinks/flutter/ios"
44+
:path: ".symlinks/flutter/ios-release"
4545
flutter_stetho:
4646
:path: ".symlinks/plugins/flutter_stetho/ios"
4747
image_picker:

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@
266266
inputPaths = (
267267
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
268268
"${BUILT_PRODUCTS_DIR}/FMDB/FMDB.framework",
269-
"${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework",
269+
"${PODS_ROOT}/../.symlinks/flutter/ios-release/Flutter.framework",
270270
"${BUILT_PRODUCTS_DIR}/flutter_stetho/flutter_stetho.framework",
271271
"${BUILT_PRODUCTS_DIR}/image_picker/image_picker.framework",
272272
"${BUILT_PRODUCTS_DIR}/launch_review/launch_review.framework",

0 commit comments

Comments
 (0)