From 41bd5d5f24e1e56761621c8b6848a120bb204275 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Fri, 2 Feb 2024 20:04:50 +0100 Subject: [PATCH] List submodules to exclude instead of submodules to include. This way the instructions don't stop working every time a new submodule is added --- Building-for-Linux.md | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/Building-for-Linux.md b/Building-for-Linux.md index a0ec6b4..00cb538 100644 --- a/Building-for-Linux.md +++ b/Building-for-Linux.md @@ -39,21 +39,10 @@ crew install xorg_nouveau_driver ## Add necessary submodules and check for new commits ```bash -git submodule update --init --recursive \ -Externals/mGBA \ -Externals/spirv_cross \ -Externals/zlib-ng \ -Externals/libspng \ -Externals/VulkanMemoryAllocator \ -Externals/cubeb \ -Externals/implot \ -Externals/gtest \ -Externals/rcheevos \ -Externals/fmt \ -Externals/lz4 \ -Externals/xxhash \ -Externals/enet \ -Externals/SDL \ +git -c submodule."Externals/Qt".update=none \ +-c submodule."Externals/FFmpeg-bin".update=none \ +-c submodule."Externals/libadrenotools".update=none \ +submodule update --init --recursive \ && git pull --recurse-submodules ```