27 lines
393 B
Bash
Executable file
27 lines
393 B
Bash
Executable file
#!/bin/bash
|
|
|
|
source .build.sh
|
|
|
|
echo
|
|
echo '==> Checking deps'
|
|
which git
|
|
which cargo
|
|
|
|
echo
|
|
echo '==> Cloning repo'
|
|
clone https://github.com/hickory-dns/hickory-dns.git hickory-dns
|
|
|
|
cd hickory-dns
|
|
trap 'cd ..' EXIT
|
|
|
|
echo
|
|
echo '==> Building resolve'
|
|
cargo build \
|
|
--release \
|
|
--bin resolve \
|
|
--features dnssec-ring \
|
|
--config 'panic="abort"' \
|
|
--config 'lto="fat"'
|
|
|
|
echo
|
|
echo '==> Done'
|