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