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
39efe4af
Commit
39efe4af
authored
Apr 06, 2016
by
Devon Carew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
have flutter build emit better help text
parent
798dfa2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
build.dart
packages/flutter_tools/lib/src/commands/build.dart
+1
-1
flutter_command_runner.dart
.../flutter_tools/lib/src/runner/flutter_command_runner.dart
+5
-1
No files found.
packages/flutter_tools/lib/src/commands/build.dart
View file @
39efe4af
...
...
@@ -8,8 +8,8 @@ import 'dart:io';
import
'../globals.dart'
;
import
'../runner/flutter_command.dart'
;
import
'build_apk.dart'
;
import
'build_ios.dart'
;
import
'build_flx.dart'
;
import
'build_ios.dart'
;
class
BuildCommand
extends
FlutterCommand
{
BuildCommand
()
{
...
...
packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
View file @
39efe4af
...
...
@@ -9,8 +9,8 @@ import 'package:args/args.dart';
import
'package:args/command_runner.dart'
;
import
'package:path/path.dart'
as
path
;
import
'../artifacts.dart'
;
import
'../android/android_sdk.dart'
;
import
'../artifacts.dart'
;
import
'../base/context.dart'
;
import
'../base/logger.dart'
;
import
'../base/process.dart'
;
...
...
@@ -173,6 +173,10 @@ class FlutterCommandRunner extends CommandRunner {
@override
Future
<
dynamic
>
run
(
Iterable
<
String
>
args
)
{
// Have an invocation of 'build' print out it's sub-commands.
if
(
args
.
length
==
1
&&
args
.
first
==
'build'
)
args
=
<
String
>[
'build'
,
'-h'
];
return
super
.
run
(
args
).
then
((
dynamic
result
)
{
return
result
;
}).
whenComplete
(()
{
...
...
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