From f3036be13fe05718d5fa39d95311a32a05c3abe2 Mon Sep 17 00:00:00 2001 From: anulax1225 Date: Sat, 20 Jan 2024 02:57:38 +0100 Subject: [PATCH] Modified build script --- build | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/build b/build index 1c4864f..ac20b34 100755 --- a/build +++ b/build @@ -1,4 +1,7 @@ clear +echo ================== +echo [BUILDING PROJECT] +echo ================== if [ -z ${CLEAR_BIN} ]; then CLEAR_BIN=0 @@ -8,23 +11,28 @@ if [ -z ${AUTO_EXEC} ]; then fi if [ 1 -eq ${CLEAR_BIN} ]; then - echo [Clearing bin/bin-int dirs] + echo Clearing bin/bin-int dirs rm -rf bin bin-int else - echo [Caching bin/bin-int dirs] + echo Caching bin/bin-int dirs fi -echo [BUILDING PROJECT] + premake5 gmake2 make $1 +echo ================ echo [FINISHED BUILD] +echo ================ if [ 1 -eq ${AUTO_EXEC} ]; then config=$1 if [ -z "$config" ]; then config="config=debug" fi if [ "config=debug" == "$config" ]; then + echo + echo ============== echo [STARTING APP] - echo [Config: Debug] + echo ============== + echo Config: Debug bin/linux-x86_64-Debug/sandbox/sandbox elif [ "config=release" == "$config" ]; then echo [STARTING APP]