Download flutter/packages/flutter_tools/bin/xcode_backend.sh from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 804 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/7d4c5ffdb4518a5d7456ef06ab77458fcf42663a/flutter/packages/flutter_tools/bin/xcode_backend.sh
- Command line
-
hf download hf://luom2645/agent-workspace@7d4c5ffdb4518a5d7456ef06ab77458fcf42663a/flutter/packages/flutter_tools/bin/xcode_backend.sh
-
curl -L -o xcode_backend.sh https://huggingface.co/luom2645/agent-workspace/resolve/7d4c5ffdb4518a5d7456ef06ab77458fcf42663a/flutter/packages/flutter_tools/bin/xcode_backend.sh
804 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. | |
| # exit on error, or usage of unset var | |
| set -euo pipefail | |
| # Needed because if it is set, cd may print the path it changed to. | |
| unset CDPATH | |
| function follow_links() ( | |
| cd -P "$(dirname -- "$1")" | |
| file="$PWD/$(basename -- "$1")" | |
| while [[ -h "$file" ]]; do | |
| cd -P "$(dirname -- "$file")" | |
| file="$(readlink -- "$file")" | |
| cd -P "$(dirname -- "$file")" | |
| file="$PWD/$(basename -- "$file")" | |
| done | |
| echo "$file" | |
| ) | |
| PROG_NAME="$(follow_links "${BASH_SOURCE[0]}")" | |
| BIN_DIR="$(cd "${PROG_NAME%/*}" ; pwd -P)" | |
| FLUTTER_ROOT="$BIN_DIR/../../.." | |
| DART="$FLUTTER_ROOT/bin/dart" | |
| "$DART" "$BIN_DIR/xcode_backend.dart" "$@" | |