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
4962656b
Commit
4962656b
authored
May 23, 2016
by
Devon Carew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove old command aliases (#4103)
parent
41d1a9f1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
15 deletions
+5
-15
cache.dart
packages/flutter_tools/lib/src/cache.dart
+2
-4
create.dart
packages/flutter_tools/lib/src/commands/create.dart
+0
-3
devices.dart
packages/flutter_tools/lib/src/commands/devices.dart
+0
-3
run.dart
packages/flutter_tools/lib/src/commands/run.dart
+0
-3
main.yaml.tmpl
...tools/templates/create/.atom/launches.tmpl/main.yaml.tmpl
+3
-2
No files found.
packages/flutter_tools/lib/src/cache.dart
View file @
4962656b
...
...
@@ -269,8 +269,7 @@ class FlutterEngine {
for
(
String
pkgName
in
_getPackageDirs
())
{
Directory
dir
=
new
Directory
(
path
.
join
(
pkgDir
.
path
,
pkgName
));
if
(!
dir
.
existsSync
()
||
allDirty
)
{
await
_downloadItem
(
'Downloading engine package
$pkgName
...'
,
url
+
pkgName
+
'.zip'
,
pkgDir
);
await
_downloadItem
(
'Downloading package
$pkgName
...'
,
url
+
pkgName
+
'.zip'
,
pkgDir
);
}
}
...
...
@@ -288,8 +287,7 @@ class FlutterEngine {
String
urlPath
=
toolsDir
[
1
];
Directory
dir
=
new
Directory
(
path
.
join
(
engineDir
.
path
,
cacheDir
));
if
(!
dir
.
existsSync
()
||
allDirty
)
{
await
_downloadItem
(
'Downloading engine tools
$cacheDir
...'
,
url
+
urlPath
,
dir
);
await
_downloadItem
(
'Downloading
$cacheDir
tools...'
,
url
+
urlPath
,
dir
);
_makeFilesExecutable
(
dir
);
}
}
...
...
packages/flutter_tools/lib/src/commands/create.dart
View file @
4962656b
...
...
@@ -41,9 +41,6 @@ class CreateCommand extends FlutterCommand {
final
String
description
=
'Create a new Flutter project.
\n\n
'
'If run on a project that already exists, this will repair the project, recreating any files that are missing.'
;
@override
final
List
<
String
>
aliases
=
<
String
>[
'init'
];
@override
bool
get
requiresProjectRoot
=>
false
;
...
...
packages/flutter_tools/lib/src/commands/devices.dart
View file @
4962656b
...
...
@@ -16,9 +16,6 @@ class DevicesCommand extends FlutterCommand {
@override
final
String
description
=
'List all connected devices.'
;
@override
final
List
<
String
>
aliases
=
<
String
>[
'list'
];
@override
bool
get
requiresProjectRoot
=>
false
;
...
...
packages/flutter_tools/lib/src/commands/run.dart
View file @
4962656b
...
...
@@ -45,9 +45,6 @@ class RunCommand extends RunCommandBase {
@override
final
String
description
=
'Run your Flutter app on an attached device.'
;
@override
final
List
<
String
>
aliases
=
<
String
>[
'start'
];
RunCommand
()
{
argParser
.
addFlag
(
'full-restart'
,
defaultsTo:
true
,
...
...
packages/flutter_tools/templates/create/.atom/launches.tmpl/main.yaml.tmpl
View file @
4962656b
...
...
@@ -3,8 +3,9 @@ type: flutter
path: lib/main.dart
flutter:
checked: true
# Enable or disable debugging.
debug: true
# The starting route for the app.
route:
# Additional args for the flutter run command
:
# Additional args for the flutter run command
.
args:
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