You've already forked flecs_tests
Add cache handling for tiles
This commit is contained in:
@@ -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 ==="
|
||||
|
||||
Reference in New Issue
Block a user