blob: d2084aec4d39b03d4e9ad972236e84f4dbb65a03 [file] [log] [blame]
#!/usr/bin/env bash
set -e -o pipefail
if [ -z "$hscloud_root" ]; then
echo 2>&1 "Please first source env.sh"
exit 1
fi
cd "${hscloud_root}"
bazel build //cluster/tools/...
if [ ! -e /nix ] ; then
echo "WARNING: No Nix installation detected. nix-dependent tools (nixops) will not be built or available."
else
bazel build \
//cluster/tools:nixops
fi