1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-09-28 05:17:37 +00:00
bobbylisp/test.sh

13 lines
414 B
Bash
Executable file

in=$1 # Get first's file name
name=${in%.*} # Remove extension
make debug
blspc compile $name.blsp
echo -e "------------------------------------------- SOURCE"
cat ./$name.blsp
echo -e "\n----------------------------------------- COMPILED"
cat ./$name.bsm
echo -e "------------------------------------------- OUTPUT"
blspc run $name.bsm
echo -e "--------------------------------------------------"