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
67f59100
Commit
67f59100
authored
Nov 01, 2016
by
Adam Barth
Committed by
GitHub
Nov 01, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mentions `flutter packages get` rather than `pub get` (#6625)
Fixes #6417
parent
8f2d40c2
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
5 additions
and
13 deletions
+5
-13
flutter_gallery.iml
examples/flutter_gallery/flutter_gallery.iml
+0
-2
hello_world.iml
examples/hello_world/hello_world.iml
+0
-2
flutter.iml
packages/flutter/flutter.iml
+0
-1
flutter_driver.iml
packages/flutter_driver/flutter_driver.iml
+0
-1
flutter_markdown.iml
packages/flutter_markdown/flutter_markdown.iml
+0
-1
flutter_test.iml
packages/flutter_test/flutter_test.iml
+0
-1
create.dart
packages/flutter_tools/lib/src/commands/create.dart
+1
-1
update_packages.dart
packages/flutter_tools/lib/src/commands/update_packages.dart
+1
-1
package_map.dart
packages/flutter_tools/lib/src/dart/package_map.dart
+1
-1
pub.dart
packages/flutter_tools/lib/src/dart/pub.dart
+1
-1
flutter_command.dart
packages/flutter_tools/lib/src/runner/flutter_command.dart
+1
-1
No files found.
examples/flutter_gallery/flutter_gallery.iml
View file @
67f59100
...
...
@@ -3,8 +3,6 @@
<component
name=
"NewModuleRootManager"
inherit-compiler-output=
"true"
>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
>
<excludeFolder
url=
"file://$MODULE_DIR$/.pub"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/packages"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/test/calculator/packages"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/test/packages"
/>
...
...
examples/hello_world/hello_world.iml
View file @
67f59100
...
...
@@ -3,8 +3,6 @@
<component
name=
"NewModuleRootManager"
inherit-compiler-output=
"true"
>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
>
<excludeFolder
url=
"file://$MODULE_DIR$/.pub"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/packages"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/test/packages"
/>
</content>
...
...
packages/flutter/flutter.iml
View file @
67f59100
...
...
@@ -3,7 +3,6 @@
<component
name=
"NewModuleRootManager"
inherit-compiler-output=
"true"
>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
>
<excludeFolder
url=
"file://$MODULE_DIR$/.pub"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/bin/packages"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/packages"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/test/animation/packages"
/>
...
...
packages/flutter_driver/flutter_driver.iml
View file @
67f59100
...
...
@@ -3,7 +3,6 @@
<component
name=
"NewModuleRootManager"
inherit-compiler-output=
"true"
>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
>
<excludeFolder
url=
"file://$MODULE_DIR$/.pub"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/packages"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/test/packages"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/test/src/packages"
/>
...
...
packages/flutter_markdown/flutter_markdown.iml
View file @
67f59100
...
...
@@ -3,7 +3,6 @@
<component
name=
"NewModuleRootManager"
inherit-compiler-output=
"true"
>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
>
<excludeFolder
url=
"file://$MODULE_DIR$/.pub"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/example/packages"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/packages"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/test/packages"
/>
...
...
packages/flutter_test/flutter_test.iml
View file @
67f59100
...
...
@@ -3,7 +3,6 @@
<component
name=
"NewModuleRootManager"
inherit-compiler-output=
"true"
>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
>
<excludeFolder
url=
"file://$MODULE_DIR$/.pub"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/packages"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/test/packages"
/>
</content>
...
...
packages/flutter_tools/lib/src/commands/create.dart
View file @
67f59100
...
...
@@ -19,7 +19,7 @@ class CreateCommand extends FlutterCommand {
CreateCommand
()
{
argParser
.
addFlag
(
'pub'
,
defaultsTo:
true
,
help:
'Whether to run "
pub
get" after the project has been created.'
help:
'Whether to run "
flutter packages
get" after the project has been created.'
);
argParser
.
addFlag
(
'with-driver-test'
,
...
...
packages/flutter_tools/lib/src/commands/update_packages.dart
View file @
67f59100
...
...
@@ -18,7 +18,7 @@ class UpdatePackagesCommand extends FlutterCommand {
UpdatePackagesCommand
({
this
.
hidden
:
false
})
{
argParser
.
addFlag
(
'upgrade'
,
help:
'
Run "pub upgrade" rather than "pub get"
.'
,
help:
'
Ignores pubspec.lock and retrieves newer versions of packages
.'
,
defaultsTo:
false
);
}
...
...
packages/flutter_tools/lib/src/dart/package_map.dart
View file @
67f59100
...
...
@@ -41,7 +41,7 @@ class PackageMap {
String
message
=
'
$packagesPath
does not exist.'
;
String
pubspecPath
=
path
.
absolute
(
path
.
dirname
(
packagesPath
),
'pubspec.yaml'
);
if
(
FileSystemEntity
.
isFileSync
(
pubspecPath
))
message
+=
'
\n
Did you run
`pub get`
in this directory?'
;
message
+=
'
\n
Did you run
"flutter packages get"
in this directory?'
;
else
message
+=
'
\n
Did you run this command from the same directory as your pubspec.yaml file?'
;
return
message
;
...
...
packages/flutter_tools/lib/src/dart/pub.dart
View file @
67f59100
...
...
@@ -46,7 +46,7 @@ Future<int> pubGet({
if
(!
checkLastModified
||
_shouldRunPubGet
(
pubSpecYaml:
pubSpecYaml
,
dotPackages:
dotPackages
))
{
String
command
=
upgrade
?
'upgrade'
:
'get'
;
Status
status
=
logger
.
startProgress
(
"Running '
pub
$command
' in
${path.basename(directory)}
..."
);
Status
status
=
logger
.
startProgress
(
"Running '
flutter packages
$command
' in
${path.basename(directory)}
..."
);
int
code
=
await
runCommandAndStreamOutput
(
<
String
>[
sdkBinaryName
(
'pub'
),
'--verbosity=warning'
,
command
,
'--no-packages-dir'
,
'--no-precompile'
],
workingDirectory:
directory
,
...
...
packages/flutter_tools/lib/src/runner/flutter_command.dart
View file @
67f59100
...
...
@@ -57,7 +57,7 @@ abstract class FlutterCommand extends Command {
void
usesPubOption
()
{
argParser
.
addFlag
(
'pub'
,
defaultsTo:
true
,
help:
'Whether to run "
pub
get" before executing this command.'
);
help:
'Whether to run "
flutter packages
get" before executing this command.'
);
_usesPubOption
=
true
;
}
...
...
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