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
0a9a43b9
Unverified
Commit
0a9a43b9
authored
Feb 25, 2022
by
Jonah Williams
Committed by
GitHub
Feb 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use flutter pub instead of dart pub (#99159)
parent
c7f07bbe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
analyze.dart
dev/bots/analyze.dart
+1
-1
packages.dart
packages/flutter_tools/lib/src/commands/packages.dart
+1
-1
No files found.
dev/bots/analyze.dart
View file @
0a9a43b9
...
...
@@ -1578,7 +1578,7 @@ Future<void> _checkConsumerDependencies() async {
// Parse the output of pub deps --json to determine all of the
// current packages used by the core set of flutter packages.
for
(
final
String
package
in
kCorePackages
)
{
final
ProcessResult
result
=
await
Process
.
run
(
dart
,
<
String
>[
final
ProcessResult
result
=
await
Process
.
run
(
flutter
,
<
String
>[
'pub'
,
'deps'
,
'--json'
,
...
...
packages/flutter_tools/lib/src/commands/packages.dart
View file @
0a9a43b9
...
...
@@ -27,7 +27,7 @@ class PackagesCommand extends FlutterCommand {
addSubcommand
(
PackagesTestCommand
());
addSubcommand
(
PackagesForwardCommand
(
'publish'
,
'Publish the current package to pub.dartlang.org'
,
requiresPubspec:
true
));
addSubcommand
(
PackagesForwardCommand
(
'downgrade'
,
'Downgrade packages in a Flutter project'
,
requiresPubspec:
true
));
addSubcommand
(
PackagesForwardCommand
(
'deps'
,
'Print package dependencies'
,
requiresPubspec:
true
));
addSubcommand
(
PackagesForwardCommand
(
'deps'
,
'Print package dependencies'
));
// path to package can be specified with --directory argument
addSubcommand
(
PackagesForwardCommand
(
'run'
,
'Run an executable from a package'
,
requiresPubspec:
true
));
addSubcommand
(
PackagesForwardCommand
(
'cache'
,
'Work with the Pub system cache'
));
addSubcommand
(
PackagesForwardCommand
(
'version'
,
'Print Pub version'
));
...
...
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