Add cache handling for tiles

This commit is contained in:
2026-05-11 16:48:34 +02:00
parent beea8a0281
commit dc708de354
10 changed files with 884 additions and 740 deletions

View File

@@ -59,14 +59,14 @@ else
echo " > cglm already present"
fi
# 5. sokol_gp.h
if [ ! -f "$LIB_DIR/sokol/sokol_gp.h" ]; then
echo " > Fetching cglm..."
git clone --depth 1 https://github.com/edubart/sokol_gp.git "$LIB_DIR/sokol_gp_tmp"
cp -r "$LIB_DIR/sokol_gp_tmp/sokol_gp.h" "$LIB_DIR/sokol/sokol_gp.h"
rm -rf "$LIB_DIR/sokol_gp_tmp"
# 5. stb_ds.h
if [ ! -f "$LIB_DIR/util/stb_ds.h" ]; then
echo " > Fetching STB..."
git clone --depth 1 https://github.com/nothings/stb.git "$LIB_DIR/stb_tmp"
cp -r "$LIB_DIR/stb_tmp/stb_ds.h" "$LIB_DIR/util/stb_ds.h"
rm -rf "$LIB_DIR/stb_tmp"
else
echo " > sokol_gp.h already present"
echo " > stb_ds.h already present"
fi
echo "=== Done ==="