From c050c7a33df5615ead3f2cc776dfaa74d204e5fc Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Sat, 29 Oct 2022 16:06:48 +0200 Subject: [PATCH] increased verbosity --- compile.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/compile.sh b/compile.sh index 46e9a64..7e5d1de 100755 --- a/compile.sh +++ b/compile.sh @@ -8,8 +8,10 @@ mkdir -p "${SHADER_DIR}" for file in $(ls ${SOURCE_DIR}); do ext="${file##*.}" if [[ $ext == "vert" ]] || [[ $ext == "frag" ]]; then - echo "compiling ${file}" - glslc ${SOURCE_DIR}/${file} -o ${SHADER_DIR}/$(basename ${file}).spv + src=${SOURCE_DIR}/${file} + dst=${SHADER_DIR}/$(basename ${file}).spv + echo "compiling $src to $dst" + glslc ${src} -o ${dst} fi done