hypha: add script for quick debugging and set log levels ot warn by default

This commit is contained in:
Alex Zenla committed 2024-02-01 10:28:17 +00:00
1 parent bd56de235f
commit e7cea3d7ed
4 files changed
+18 -2

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ set -e
export RUSTFLAGS="-Ctarget-feature=+crt-static"
cd "$(dirname "${0}")/.."
HYPHA_DIR="${PWD}"
cargo build --release --target x86_64-unknown-linux-gnu
cargo build --bin hyphactr --release --target x86_64-unknown-linux-gnu
INITRD_DIR="$(mktemp -d /tmp/hypha-initrd.XXXXXXXXXXXXX)"
cp target/x86_64-unknown-linux-gnu/release/hyphactr "${INITRD_DIR}/init"
chmod +x "${INITRD_DIR}/init"