mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-04 05:31:32 +00:00
rebrand to krata
This commit is contained in:
12
scripts/kratanet-debug.sh
Executable file
12
scripts/kratanet-debug.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
if [ -z "${RUST_LOG}" ]
|
||||
then
|
||||
RUST_LOG="INFO"
|
||||
fi
|
||||
|
||||
REAL_SCRIPT="$(realpath "${0}")"
|
||||
cd "$(dirname "${REAL_SCRIPT}")/.."
|
||||
cargo build -q --target x86_64-unknown-linux-gnu --bin kratanet
|
||||
exec sudo RUST_LOG="${RUST_LOG}" target/x86_64-unknown-linux-gnu/debug/kratanet "${@}"
|
Reference in New Issue
Block a user