Download script for deferred components assets (#88905)
This commit is contained in:
parent
7c915fe29c
commit
e702a2b8c1
@ -30,6 +30,7 @@
|
||||
.pub-cache/
|
||||
.pub/
|
||||
/build/
|
||||
/customassets/
|
||||
|
||||
# Web related
|
||||
lib/generated_plugin_registrant.dart
|
||||
|
@ -1,5 +1,13 @@
|
||||
# Deferred components integration test app
|
||||
|
||||
## Setup
|
||||
|
||||
This integration test app requires manually downloading additional assets to build. Run
|
||||
|
||||
`./download_assets.sh`
|
||||
|
||||
before running any of the tests.
|
||||
|
||||
## Tests
|
||||
|
||||
This app contains two sets of tests:
|
||||
|
9
dev/integration_tests/deferred_components_test/download_assets.sh
Executable file
9
dev/integration_tests/deferred_components_test/download_assets.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright 2014 The Flutter Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
mkdir customassets
|
||||
curl https://raw.githubusercontent.com/flutter/goldens/0fbd6c5d30ec714ffefd63b47910aee7debd2e7e/dev/integration_tests/assets_for_deferred_components_test/flutter_logo.png --output customassets/flutter_logo.png
|
||||
curl https://raw.githubusercontent.com/flutter/goldens/0fbd6c5d30ec714ffefd63b47910aee7debd2e7e/dev/integration_tests/assets_for_deferred_components_test/key.properties --output android/key.properties
|
||||
curl https://raw.githubusercontent.com/flutter/goldens/0fbd6c5d30ec714ffefd63b47910aee7debd2e7e/dev/integration_tests/assets_for_deferred_components_test/testing-keystore.jks --output android/testing-keystore.jks
|
Loading…
x
Reference in New Issue
Block a user