Download flutter/dev/bots/suite_runners/run_fuchsia_precache.dart from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 670 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/dev/bots/suite_runners/run_fuchsia_precache.dart
- Command line
-
hf download hf://luom2645/agent-workspace/flutter/dev/bots/suite_runners/run_fuchsia_precache.dart
-
curl -L -o run_fuchsia_precache.dart https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/dev/bots/suite_runners/run_fuchsia_precache.dart
670 Bytes
| // 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. | |
| import '../run_command.dart'; | |
| import '../utils.dart'; | |
| // Runs flutter_precache. | |
| Future<void> fuchsiaPrecacheRunner() async { | |
| printProgress('${green}Running flutter precache tests$reset'); | |
| await runCommand('flutter', const <String>[ | |
| 'config', | |
| '--enable-fuchsia', | |
| ], workingDirectory: flutterRoot); | |
| await runCommand('flutter', const <String>[ | |
| 'precache', | |
| '--flutter_runner', | |
| '--fuchsia', | |
| '--no-android', | |
| '--no-ios', | |
| '--force', | |
| ], workingDirectory: flutterRoot); | |
| } | |