2022-01-27 17:43:32 -06:00
|
|
|
in=$1 # Get first's file name
|
|
|
|
noext=${in%.*} # Remove extension
|
|
|
|
name=${noext##*/} # Remove path
|
2022-01-27 17:39:57 -06:00
|
|
|
|
|
|
|
make debug
|
2022-01-27 17:43:32 -06:00
|
|
|
blspc compile $noext.blsp
|
2022-01-27 17:39:57 -06:00
|
|
|
echo -e "------------------------------------------- SOURCE"
|
2022-01-27 17:43:32 -06:00
|
|
|
cat $noext.blsp
|
2022-01-27 17:39:57 -06:00
|
|
|
echo -e "\n----------------------------------------- COMPILED"
|
2022-01-27 17:43:32 -06:00
|
|
|
cat $noext.bsm
|
2022-01-27 17:39:57 -06:00
|
|
|
echo -e "------------------------------------------- OUTPUT"
|
|
|
|
blspc run $name.bsm
|
|
|
|
echo -e "--------------------------------------------------"
|