Unverified Commit 1bef312f authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Actually run "flutter create" before compiling the default app... (#13246)

parent a46679f7
...@@ -85,6 +85,13 @@ TaskFunction createBasicMaterialCompileTest() { ...@@ -85,6 +85,13 @@ TaskFunction createBasicMaterialCompileTest() {
if (await sampleDir.exists()) if (await sampleDir.exists())
rmTree(sampleDir); rmTree(sampleDir);
await inDirectory(Directory.systemTemp, () async {
await flutter('create', options: <String>[sampleAppName]);
});
if (!(await sampleDir.exists()))
throw 'Failed to create default Flutter app in ${sampleDir.path}';
return new CompileTest(sampleDir.path).run(); return new CompileTest(sampleDir.path).run();
}; };
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment