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
721927ef
Unverified
Commit
721927ef
authored
May 22, 2020
by
liyuqian
Committed by
GitHub
May 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use pub inside the Flutter directory (#57704)
parent
c6f77923
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
utils.dart
dev/devicelab/lib/framework/utils.dart
+3
-0
perf_tests.dart
dev/devicelab/lib/tasks/perf_tests.dart
+2
-2
No files found.
dev/devicelab/lib/framework/utils.dart
View file @
721927ef
...
...
@@ -437,6 +437,9 @@ Future<String> evalFlutter(String command, {
String
get
dartBin
=>
path
.
join
(
flutterDirectory
.
path
,
'bin'
,
'cache'
,
'dart-sdk'
,
'bin'
,
'dart'
);
String
get
pubBin
=>
path
.
join
(
flutterDirectory
.
path
,
'bin'
,
'cache'
,
'dart-sdk'
,
'bin'
,
'pub'
);
Future
<
int
>
dart
(
List
<
String
>
args
)
=>
exec
(
dartBin
,
args
);
/// Returns a future that completes with a path suitable for JAVA_HOME
...
...
dev/devicelab/lib/tasks/perf_tests.dart
View file @
721927ef
...
...
@@ -780,14 +780,14 @@ class DevToolsMemoryTest {
}
Future
<
void
>
_launchDevTools
()
async
{
await
exec
(
'pub'
,
<
String
>[
await
exec
(
pubBin
,
<
String
>[
'global'
,
'activate'
,
'devtools'
,
'0.2.5'
,
]);
_devToolsProcess
=
await
startProcess
(
'pub'
,
pubBin
,
<
String
>[
'global'
,
'run'
,
...
...
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