dev: add build script for relay

This commit is contained in:
KernelDeimos 2024-09-18 14:48:55 -04:00
parent 48873b6d23
commit e3431cd7f5

17
tools/build_relay.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/bash
start_dir=$(pwd)
cleanup() {
cd "$start_dir"
}
trap cleanup ERR EXIT
set -e
echo -e "\x1B[36;1m<<< Building epoxy-tls >>>\x1B[0m"
cd submodules/epoxy-tls
rustup install nightly
rustup override set nightly
cargo b -r
cd -