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
386c3518
Commit
386c3518
authored
Jan 19, 2016
by
Devon Carew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve the failure mode when run from a non-flutter project
fix an issue where errors were printed twice
parent
477530f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
.gitignore
packages/.gitignore
+1
-0
artifacts.dart
packages/flutter_tools/lib/src/artifacts.dart
+9
-0
start.dart
packages/flutter_tools/lib/src/commands/start.dart
+1
-1
No files found.
packages/.gitignore
View file @
386c3518
...
...
@@ -6,3 +6,4 @@
build/
packages
pubspec.lock
.atom/
packages/flutter_tools/lib/src/artifacts.dart
View file @
386c3518
...
...
@@ -192,6 +192,14 @@ class ArtifactStore {
}
}
static
void
ensureHasSkyEnginePackage
()
{
Directory
skyEnginePackage
=
new
Directory
(
path
.
join
(
packageRoot
,
'sky_engine'
));
if
(!
skyEnginePackage
.
existsSync
())
{
stderr
.
writeln
(
"Cannot locate the sky_engine package; did you include 'flutter' in your pubspec.yaml file?"
);
throw
new
ProcessExit
(
2
);
}
}
static
String
_engineRevision
;
static
String
get
engineRevision
{
...
...
@@ -274,6 +282,7 @@ class ArtifactStore {
}
static
Directory
_getCacheDirForPlatform
(
String
platform
)
{
ensureHasSkyEnginePackage
();
Directory
baseDir
=
_getBaseCacheDir
();
// TODO(jamesr): Add support for more configurations.
String
config
=
'Release'
;
...
...
packages/flutter_tools/lib/src/commands/start.dart
View file @
386c3518
...
...
@@ -144,7 +144,7 @@ class StartCommand extends StartCommandBase {
await
Future
.
wait
([
downloadToolchain
(),
downloadApplicationPackagesAndConnectToDevices
(),
]);
]
,
eagerError:
true
);
bool
poke
=
argResults
[
'poke'
];
bool
clearLogs
=
argResults
[
'clear-logs'
];
...
...
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