blob: 49211356c95074f44e5854c7c48576231101673c [file] [log] [blame]
#!/bin/bash
# Copyright 2020 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=Build
### build the minimal host dependencies to run fx main workflows
## Usage:
## fx self-build
## Executes some checks and performs the equivalent of
## 'fx build :host'
##
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/lib/vars.sh \
|| exit $?
if [[ $# -ne 0 ]]; then
usage
exit 0
fi
fx-command-exec build :host