#!/bin/bash IFS=$'\n' set -eu -o pipefail echo echo '==> Checking deps' which git which cargo echo echo '==> Cloning repo' git clone --single-branch --depth 1 https://github.com/hickory-dns/hickory-dns.git hickory-dns echo echo '==> Building resolve' cd hickory-dns cargo build \ --release \ --bin resolve \ --features dnssec-ring \ --config 'panic="abort"' \ --config 'lto="fat"' cd .. echo echo '==> Done'