Adapt build script to automatically opening quickfix

This commit is contained in:
2026-05-19 14:45:58 +02:00
parent cd0ef696d7
commit bacda4cd00

View File

@@ -2,43 +2,30 @@
clear
header() {
echo ""
echo ""
echo "================================================================================"
echo "================================================================================"
echo " [[ $1 ]]"
echo "================================================================================"
echo "================================================================================"
echo ""
echo ""
}
if [ $1 = "build" ]; then
header "Building"
echo "Building"
make main -B
elif [ $1 = "run" ]; then
header "Running"
echo "Running"
make main
./output/main 5000 ./library "Testing library"
elif [ $1 = "debug" ]; then
header "Debugging"
echo "Debugging"
make main
gf2 ./output/main
elif [ $1 = "clean" ]; then
header "Cleaning"
echo "Cleaning"
rm -rf ./output/
else
header "Invalid command."
echo "Invalid command."
fi