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
e69a8a15
Unverified
Commit
e69a8a15
authored
Apr 18, 2019
by
Jonah Williams
Committed by
GitHub
Apr 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pass track widget creation flag through to build script (#31277)
parent
b1039f0f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
1 deletion
+8
-1
build_linux.dart
packages/flutter_tools/lib/src/commands/build_linux.dart
+1
-0
build_windows.dart
packages/flutter_tools/lib/src/commands/build_windows.dart
+1
-0
build_macos.dart
packages/flutter_tools/lib/src/macos/build_macos.dart
+1
-0
build_linux_test.dart
packages/flutter_tools/test/commands/build_linux_test.dart
+3
-1
build_macos_test.dart
packages/flutter_tools/test/commands/build_macos_test.dart
+1
-0
build_windows_test.dart
packages/flutter_tools/test/commands/build_windows_test.dart
+1
-0
No files found.
packages/flutter_tools/lib/src/commands/build_linux.dart
View file @
e69a8a15
...
...
@@ -66,6 +66,7 @@ class BuildLinuxCommand extends BuildSubCommand {
flutterProject
.
linux
.
buildScript
.
path
,
Cache
.
flutterRoot
,
buildInfo
.
isDebug
?
'debug'
:
'release'
,
buildInfo
?.
trackWidgetCreation
==
true
?
'track-widget-creation'
:
'no-track-widget-creation'
,
],
runInShell:
true
);
process
.
stderr
.
transform
(
utf8
.
decoder
)
...
...
packages/flutter_tools/lib/src/commands/build_windows.dart
View file @
e69a8a15
...
...
@@ -66,6 +66,7 @@ class BuildWindowsCommand extends BuildSubCommand {
flutterProject
.
windows
.
buildScript
.
path
,
Cache
.
flutterRoot
,
buildInfo
.
isDebug
?
'debug'
:
'release'
,
buildInfo
?.
trackWidgetCreation
==
true
?
'track-widget-creation'
:
'no-track-widget-creation'
,
],
runInShell:
true
);
process
.
stderr
.
transform
(
utf8
.
decoder
)
...
...
packages/flutter_tools/lib/src/macos/build_macos.dart
View file @
e69a8a15
...
...
@@ -18,6 +18,7 @@ Future<void> buildMacOS(FlutterProject flutterProject, BuildInfo buildInfo) asyn
flutterProject
.
macos
.
buildScript
.
path
,
Cache
.
flutterRoot
,
buildInfo
?.
isDebug
==
true
?
'debug'
:
'release'
,
buildInfo
?.
trackWidgetCreation
==
true
?
'track-widget-creation'
:
'no-track-widget-creation'
,
],
runInShell:
true
);
final
Status
status
=
logger
.
startProgress
(
'Building macOS application...'
,
...
...
packages/flutter_tools/test/commands/build_linux_test.dart
View file @
e69a8a15
...
...
@@ -59,6 +59,7 @@ void main() {
),
throwsA
(
isInstanceOf
<
ToolExit
>()));
},
overrides:
<
Type
,
Generator
>{
Platform:
()
=>
notLinuxPlatform
,
FileSystem:
()
=>
memoryFilesystem
,
});
testUsingContext
(
'Linux build invokes build script'
,
()
async
{
...
...
@@ -70,7 +71,8 @@ void main() {
when
(
mockProcessManager
.
start
(<
String
>[
'/linux/build.sh'
,
'/'
,
'release'
'release'
,
'no-track-widget-creation'
,
],
runInShell:
true
)).
thenAnswer
((
Invocation
invocation
)
async
{
return
mockProcess
;
});
...
...
packages/flutter_tools/test/commands/build_macos_test.dart
View file @
e69a8a15
...
...
@@ -71,6 +71,7 @@ void main() {
'/macos/build.sh'
,
'/'
,
'release'
,
'no-track-widget-creation'
,
],
runInShell:
true
)).
thenAnswer
((
Invocation
invocation
)
async
{
return
mockProcess
;
});
...
...
packages/flutter_tools/test/commands/build_windows_test.dart
View file @
e69a8a15
...
...
@@ -72,6 +72,7 @@ void main() {
r'C:\windows\build.bat'
,
r'C:\'
,
'release'
,
'no-track-widget-creation'
,
],
runInShell:
true
)).
thenAnswer
((
Invocation
invocation
)
async
{
return
mockProcess
;
});
...
...
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