Download flutter/dev/bots/accept_android_sdk_licenses.sh from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 618 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/dev/bots/accept_android_sdk_licenses.sh
- Command line
-
hf download hf://luom2645/agent-workspace/flutter/dev/bots/accept_android_sdk_licenses.sh
-
curl -L -o accept_android_sdk_licenses.sh https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/dev/bots/accept_android_sdk_licenses.sh
618 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. | |
| set -e | |
| # This script is only meant to be run by the Cirrus CI system, not locally. | |
| # It must be run from the root of the Flutter repo. | |
| function error() { | |
| echo "$@" 1>&2 | |
| } | |
| function accept_android_licenses() { | |
| yes "y" | flutter doctor --android-licenses | |
| } | |
| echo "Flutter SDK directory is: $PWD" | |
| # Accept licenses. | |
| echo "Accepting Android licenses." | |
| accept_android_licenses || (error "Accepting Android licenses failed." && false) | |