From 4c0145d97bd7f48843b360923f59ed30811b7f23 Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Fri, 7 Jun 2019 13:52:04 -0700 Subject: [PATCH] Fix web size test for new world (#34063) --- dev/devicelab/lib/tasks/perf_tests.dart | 2 +- examples/hello_world/web/index.html | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 examples/hello_world/web/index.html diff --git a/dev/devicelab/lib/tasks/perf_tests.dart b/dev/devicelab/lib/tasks/perf_tests.dart index 13461de668b..8773706982b 100644 --- a/dev/devicelab/lib/tasks/perf_tests.dart +++ b/dev/devicelab/lib/tasks/perf_tests.dart @@ -239,7 +239,7 @@ class WebCompileTest { rmTree(sampleDir); await inDirectory(Directory.systemTemp, () async { - await flutter('create', options: ['--template=app', sampleAppName]); + await flutter('create', options: ['--template=app', '--web', sampleAppName]); await inDirectory(sampleDir, () async { await flutter('packages', options: ['get']); await evalFlutter('build', options: [ diff --git a/examples/hello_world/web/index.html b/examples/hello_world/web/index.html new file mode 100644 index 00000000000..8115fbb7861 --- /dev/null +++ b/examples/hello_world/web/index.html @@ -0,0 +1,12 @@ + + + + + Hello, World + + + + +