| #!/bin/bash |
| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| #### CATEGORY=Other |
| ### print relevant information about the developer setup |
| |
| ## usage: |
| ## fx status [--format=text|json] |
| ## |
| |
| source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/lib/vars.sh || exit $? |
| fx-config-read |
| |
| cd "${FUCHSIA_BUILD_DIR}" |
| |
| exec "${PREBUILT_DART_DIR}/bin/dart" \ |
| --enable-experiment=non-nullable \ |
| --no-sound-null-safety \ |
| --packages="${FUCHSIA_DIR}/scripts/status/package_config.json" \ |
| "${FUCHSIA_DIR}/scripts/status/bin/main.dart" "$@" |