Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
2c538be4
Unverified
Commit
2c538be4
authored
Jun 23, 2020
by
Jenn Magder
Committed by
GitHub
Jun 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Parse build ios framework build mode from params (#59874)
parent
cc36608f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
build_ios_framework.dart
...s/flutter_tools/lib/src/commands/build_ios_framework.dart
+6
-6
No files found.
packages/flutter_tools/lib/src/commands/build_ios_framework.dart
View file @
2c538be4
...
...
@@ -126,19 +126,19 @@ class BuildIOSFrameworkCommand extends BuildSubCommand {
FlutterProject
_project
;
List
<
BuildInfo
>
get
buildInfos
{
final
List
<
BuildInfo
>
build
Mode
s
=
<
BuildInfo
>[];
final
List
<
BuildInfo
>
build
Info
s
=
<
BuildInfo
>[];
if
(
boolArg
(
'debug'
))
{
build
Modes
.
add
(
BuildInfo
.
debug
);
build
Infos
.
add
(
getBuildInfo
(
forcedBuildMode:
BuildMode
.
debug
)
);
}
if
(
boolArg
(
'profile'
))
{
build
Modes
.
add
(
BuildInfo
.
profile
);
build
Infos
.
add
(
getBuildInfo
(
forcedBuildMode:
BuildMode
.
profile
)
);
}
if
(
boolArg
(
'release'
))
{
build
Modes
.
add
(
BuildInfo
.
release
);
build
Infos
.
add
(
getBuildInfo
(
forcedBuildMode:
BuildMode
.
release
)
);
}
return
build
Mode
s
;
return
build
Info
s
;
}
@override
...
...
@@ -377,7 +377,7 @@ end
mainPath: globals.fs.path.absolute(targetFile),
assetDirPath: destinationAppFrameworkDirectory.childDirectory('
flutter_assets
').path,
precompiledSnapshot: buildInfo.mode != BuildMode.debug,
treeShakeIcons: b
oolArg('
tree
-
shake
-
icons
')
treeShakeIcons: b
uildInfo.treeShakeIcons,
);
}
} finally {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment