chore: add run and build scripts

This commit is contained in:
0xalivecow 2024-10-23 16:13:36 +02:00
parent 8a92b884a1
commit 6551909986
No known key found for this signature in database
2 changed files with 14 additions and 0 deletions

7
build Normal file
View file

@ -0,0 +1,7 @@
#!/bin/bash
export OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
export OPENSSL_INCLUDE_DIR=/usr/include/openssl
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd $SCRIPT_DIR
cargo build --release --locked --offline