Skip to content

Commit

Permalink
Clarify output of flutter create (#6305)
Browse files Browse the repository at this point in the history
Previously it implied that you had to always say lib/main.dart in the "flutter run" command.
  • Loading branch information
Hixie committed Oct 14, 2016
1 parent c5a25fc commit 71e05ff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/flutter_tools/lib/src/commands/create.dart
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ class CreateCommand extends FlutterCommand {
All done! In order to run your application, type:
\$ cd $relativePath
\$ flutter run lib/main.dart
\$ flutter run
Your main program file is lib/main.dart in the $relativePath directory.
''');
} else {
printStatus("You'll need to install additional components before you can run "
Expand All @@ -135,8 +137,9 @@ All done! In order to run your application, type:
printStatus('');
printStatus("After installing components, run 'flutter doctor' in order to "
"re-validate your setup.");
printStatus("When complete, type 'flutter run lib/main.dart' from the '$relativePath' "
printStatus("When complete, type 'flutter run' from the '$relativePath' "
"directory in order to launch your app.");
printStatus("Your main program file is: $relativePath/lib/main.dart");
}

return 0;
Expand Down

0 comments on commit 71e05ff

Please sign in to comment.