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
e17190df
Commit
e17190df
authored
Oct 10, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #85 from flutter/command_dir
Move Command subclasses into commands directory
parents
561350d2
287817f2
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
44 additions
and
38 deletions
+44
-38
sky_tools.dart
packages/flutter_tools/bin/sky_tools.dart
+11
-11
build.dart
packages/flutter_tools/lib/src/commands/build.dart
+1
-1
cache.dart
packages/flutter_tools/lib/src/commands/cache.dart
+1
-1
init.dart
packages/flutter_tools/lib/src/commands/init.dart
+0
-0
install.dart
packages/flutter_tools/lib/src/commands/install.dart
+2
-2
list.dart
packages/flutter_tools/lib/src/commands/list.dart
+2
-1
listen.dart
packages/flutter_tools/lib/src/commands/listen.dart
+4
-3
logs.dart
packages/flutter_tools/lib/src/commands/logs.dart
+2
-1
run_mojo.dart
packages/flutter_tools/lib/src/commands/run_mojo.dart
+2
-2
start.dart
packages/flutter_tools/lib/src/commands/start.dart
+5
-4
stop.dart
packages/flutter_tools/lib/src/commands/stop.dart
+3
-2
trace.dart
packages/flutter_tools/lib/src/commands/trace.dart
+3
-2
init_test.dart
packages/flutter_tools/test/init_test.dart
+1
-1
install_test.dart
packages/flutter_tools/test/install_test.dart
+1
-1
list_test.dart
packages/flutter_tools/test/list_test.dart
+1
-1
listen_test.dart
packages/flutter_tools/test/listen_test.dart
+1
-1
logs_test.dart
packages/flutter_tools/test/logs_test.dart
+1
-1
start_test.dart
packages/flutter_tools/test/start_test.dart
+1
-1
stop_test.dart
packages/flutter_tools/test/stop_test.dart
+1
-1
trace_test.dart
packages/flutter_tools/test/trace_test.dart
+1
-1
No files found.
packages/flutter_tools/bin/sky_tools.dart
View file @
e17190df
...
...
@@ -9,17 +9,17 @@ import 'package:args/command_runner.dart';
import
'package:logging/logging.dart'
;
import
'package:sky_tools/src/application_package.dart'
;
import
'package:sky_tools/src/artifacts.dart'
;
import
'package:sky_tools/src/build.dart'
;
import
'package:sky_tools/src/cache.dart'
;
import
'package:sky_tools/src/init.dart'
;
import
'package:sky_tools/src/install.dart'
;
import
'package:sky_tools/src/list.dart'
;
import
'package:sky_tools/src/listen.dart'
;
import
'package:sky_tools/src/logs.dart'
;
import
'package:sky_tools/src/run_mojo.dart'
;
import
'package:sky_tools/src/start.dart'
;
import
'package:sky_tools/src/stop.dart'
;
import
'package:sky_tools/src/trace.dart'
;
import
'package:sky_tools/src/
commands/
build.dart'
;
import
'package:sky_tools/src/c
ommands/c
ache.dart'
;
import
'package:sky_tools/src/
commands/
init.dart'
;
import
'package:sky_tools/src/
commands/
install.dart'
;
import
'package:sky_tools/src/
commands/
list.dart'
;
import
'package:sky_tools/src/
commands/
listen.dart'
;
import
'package:sky_tools/src/
commands/
logs.dart'
;
import
'package:sky_tools/src/
commands/
run_mojo.dart'
;
import
'package:sky_tools/src/
commands/
start.dart'
;
import
'package:sky_tools/src/
commands/
stop.dart'
;
import
'package:sky_tools/src/
commands/
trace.dart'
;
class
FlutterCommandRunner
extends
CommandRunner
{
FlutterCommandRunner
()
...
...
packages/flutter_tools/lib/src/build.dart
→
packages/flutter_tools/lib/src/
commands/
build.dart
View file @
e17190df
...
...
@@ -11,7 +11,7 @@ import 'package:archive/archive.dart';
import
'package:args/command_runner.dart'
;
import
'package:yaml/yaml.dart'
;
import
'artifacts.dart'
;
import
'
../
artifacts.dart'
;
const
String
_kSnapshotKey
=
'snapshot_blob.bin'
;
const
List
<
String
>
_kDensities
=
const
[
'drawable-xxhdpi'
];
...
...
packages/flutter_tools/lib/src/cache.dart
→
packages/flutter_tools/lib/src/c
ommands/c
ache.dart
View file @
e17190df
...
...
@@ -9,7 +9,7 @@ import 'dart:async';
import
'package:args/command_runner.dart'
;
import
'package:logging/logging.dart'
;
import
'artifacts.dart'
;
import
'
../
artifacts.dart'
;
final
Logger
_logging
=
new
Logger
(
'sky_tools.cache'
);
...
...
packages/flutter_tools/lib/src/init.dart
→
packages/flutter_tools/lib/src/
commands/
init.dart
View file @
e17190df
File moved
packages/flutter_tools/lib/src/install.dart
→
packages/flutter_tools/lib/src/
commands/
install.dart
View file @
e17190df
...
...
@@ -8,8 +8,8 @@ import 'dart:async';
import
'package:args/command_runner.dart'
;
import
'application_package.dart'
;
import
'device.dart'
;
import
'
../
application_package.dart'
;
import
'
../
device.dart'
;
class
InstallCommand
extends
Command
{
final
name
=
'install'
;
...
...
packages/flutter_tools/lib/src/list.dart
→
packages/flutter_tools/lib/src/
commands/
list.dart
View file @
e17190df
...
...
@@ -8,7 +8,8 @@ import 'dart:async';
import
'package:args/command_runner.dart'
;
import
'package:logging/logging.dart'
;
import
'package:sky_tools/src/device.dart'
;
import
'../device.dart'
;
final
Logger
_logging
=
new
Logger
(
'sky_tools.list'
);
...
...
packages/flutter_tools/lib/src/listen.dart
→
packages/flutter_tools/lib/src/
commands/
listen.dart
View file @
e17190df
...
...
@@ -9,9 +9,10 @@ import 'dart:io';
import
'package:args/command_runner.dart'
;
import
'package:logging/logging.dart'
;
import
'package:sky_tools/src/application_package.dart'
;
import
'package:sky_tools/src/device.dart'
;
import
'package:sky_tools/src/process.dart'
;
import
'../application_package.dart'
;
import
'../device.dart'
;
import
'../process.dart'
;
final
Logger
_logging
=
new
Logger
(
'sky_tools.listen'
);
...
...
packages/flutter_tools/lib/src/logs.dart
→
packages/flutter_tools/lib/src/
commands/
logs.dart
View file @
e17190df
...
...
@@ -8,7 +8,8 @@ import 'dart:async';
import
'package:args/command_runner.dart'
;
import
'package:logging/logging.dart'
;
import
'package:sky_tools/src/device.dart'
;
import
'../device.dart'
;
final
Logger
_logging
=
new
Logger
(
'sky_tools.logs'
);
...
...
packages/flutter_tools/lib/src/run_mojo.dart
→
packages/flutter_tools/lib/src/
commands/
run_mojo.dart
View file @
e17190df
...
...
@@ -11,8 +11,8 @@ import 'package:args/command_runner.dart';
import
'package:logging/logging.dart'
;
import
'package:path/path.dart'
as
path
;
import
'artifacts.dart'
;
import
'process.dart'
;
import
'
../
artifacts.dart'
;
import
'
../
process.dart'
;
final
Logger
_logging
=
new
Logger
(
'sky_tools.run_mojo'
);
...
...
packages/flutter_tools/lib/src/start.dart
→
packages/flutter_tools/lib/src/
commands/
start.dart
View file @
e17190df
...
...
@@ -9,10 +9,11 @@ import 'dart:async';
import
'package:args/command_runner.dart'
;
import
'package:logging/logging.dart'
;
import
'package:path/path.dart'
as
path
;
import
'package:sky_tools/src/application_package.dart'
;
import
'package:sky_tools/src/device.dart'
;
import
'package:sky_tools/src/install.dart'
;
import
'package:sky_tools/src/stop.dart'
;
import
'../application_package.dart'
;
import
'../device.dart'
;
import
'install.dart'
;
import
'stop.dart'
;
final
Logger
_logging
=
new
Logger
(
'sky_tools.start'
);
...
...
packages/flutter_tools/lib/src/stop.dart
→
packages/flutter_tools/lib/src/
commands/
stop.dart
View file @
e17190df
...
...
@@ -8,8 +8,9 @@ import 'dart:async';
import
'package:args/command_runner.dart'
;
import
'package:logging/logging.dart'
;
import
'package:sky_tools/src/application_package.dart'
;
import
'package:sky_tools/src/device.dart'
;
import
'../application_package.dart'
;
import
'../device.dart'
;
final
Logger
_logging
=
new
Logger
(
'sky_tools.stop'
);
...
...
packages/flutter_tools/lib/src/trace.dart
→
packages/flutter_tools/lib/src/
commands/
trace.dart
View file @
e17190df
...
...
@@ -8,8 +8,9 @@ import 'dart:async';
import
'package:args/command_runner.dart'
;
import
'package:logging/logging.dart'
;
import
'package:sky_tools/src/application_package.dart'
;
import
'package:sky_tools/src/device.dart'
;
import
'../application_package.dart'
;
import
'../device.dart'
;
final
Logger
_logging
=
new
Logger
(
'sky_tools.trace'
);
...
...
packages/flutter_tools/test/init_test.dart
View file @
e17190df
...
...
@@ -10,7 +10,7 @@ import 'dart:io';
import
'package:args/command_runner.dart'
;
import
'package:path/path.dart'
as
p
;
import
'package:sky_tools/src/init.dart'
;
import
'package:sky_tools/src/
commands/
init.dart'
;
import
'package:test/test.dart'
;
main
()
=>
defineTests
();
...
...
packages/flutter_tools/test/install_test.dart
View file @
e17190df
...
...
@@ -6,7 +6,7 @@ library install_test;
import
'package:args/command_runner.dart'
;
import
'package:mockito/mockito.dart'
;
import
'package:sky_tools/src/install.dart'
;
import
'package:sky_tools/src/
commands/
install.dart'
;
import
'package:test/test.dart'
;
import
'src/common.dart'
;
...
...
packages/flutter_tools/test/list_test.dart
View file @
e17190df
...
...
@@ -6,7 +6,7 @@ library list_test;
import
'package:args/command_runner.dart'
;
import
'package:mockito/mockito.dart'
;
import
'package:sky_tools/src/list.dart'
;
import
'package:sky_tools/src/
commands/
list.dart'
;
import
'package:test/test.dart'
;
import
'src/common.dart'
;
...
...
packages/flutter_tools/test/listen_test.dart
View file @
e17190df
...
...
@@ -6,7 +6,7 @@ library listen_test;
import
'package:args/command_runner.dart'
;
import
'package:mockito/mockito.dart'
;
import
'package:sky_tools/src/listen.dart'
;
import
'package:sky_tools/src/
commands/
listen.dart'
;
import
'package:test/test.dart'
;
import
'src/common.dart'
;
...
...
packages/flutter_tools/test/logs_test.dart
View file @
e17190df
...
...
@@ -6,7 +6,7 @@ library logs_test;
import
'package:args/command_runner.dart'
;
import
'package:mockito/mockito.dart'
;
import
'package:sky_tools/src/logs.dart'
;
import
'package:sky_tools/src/
commands/
logs.dart'
;
import
'package:test/test.dart'
;
import
'src/common.dart'
;
...
...
packages/flutter_tools/test/start_test.dart
View file @
e17190df
...
...
@@ -6,7 +6,7 @@ library start_test;
import
'package:args/command_runner.dart'
;
import
'package:mockito/mockito.dart'
;
import
'package:sky_tools/src/start.dart'
;
import
'package:sky_tools/src/
commands/
start.dart'
;
import
'package:test/test.dart'
;
import
'src/common.dart'
;
...
...
packages/flutter_tools/test/stop_test.dart
View file @
e17190df
...
...
@@ -6,7 +6,7 @@ library stop_test;
import
'package:args/command_runner.dart'
;
import
'package:mockito/mockito.dart'
;
import
'package:sky_tools/src/stop.dart'
;
import
'package:sky_tools/src/
commands/
stop.dart'
;
import
'package:test/test.dart'
;
import
'src/common.dart'
;
...
...
packages/flutter_tools/test/trace_test.dart
View file @
e17190df
...
...
@@ -6,7 +6,7 @@ library trace_test;
import
'package:args/command_runner.dart'
;
import
'package:mockito/mockito.dart'
;
import
'package:sky_tools/src/trace.dart'
;
import
'package:sky_tools/src/
commands/
trace.dart'
;
import
'package:test/test.dart'
;
import
'src/common.dart'
;
...
...
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