holey-bytes/examples/raylib/run.sh
Jakub Doka 58479deca1
polishing the compiler cli (cheating with clap)
also adding the raylib example

Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-30 13:26:38 +01:00

5 lines
146 B
Bash
Executable file

#!/bin/bash
DIR=$(dirname $0)
cd $DIR
cargo run -p hbc main.hb > out.o && gcc -o main out.o -lraylib -lm -ldl -lpthread -lrt -lGL -lX11 && ./main