| #!/bin/bash | |
| # Copyright 2017 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. | |
| ### remove the out directory, then set and build | |
| ## See `fx set` for usage. | |
| set -e | |
| source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/lib/vars.sh || exit $? | |
| rm -rf -- "${FUCHSIA_DIR}/out" | |
| fx-command-run set "$@" | |
| fx-command-run full-build |