From 522206b0bc69d12c713db1b3111a8fd0266fc2f8 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 31 Jan 2021 11:50:41 -0600 Subject: [PATCH] Use shallow-cloned submodule for prebuilts --- .gitmodules | 4 ++++ appveyor.yml | 4 +++- libs | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 160000 libs diff --git a/.gitmodules b/.gitmodules index 37f5799e..0b50efae 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,3 +13,7 @@ [submodule "h264bitstream/h264bitstream"] path = h264bitstream/h264bitstream url = https://github.com/aizvorski/h264bitstream.git +[submodule "libs"] + path = libs + url = https://github.com/cgutman/moonlight-qt-prebuilts.git + shallow = true diff --git a/appveyor.yml b/appveyor.yml index 9c619ea6..6b842882 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -32,7 +32,9 @@ install: - sh: 'if [[ "$BUILD_TARGET" = linux ]]; then mkdir $HOME/bin && wget -O $HOME/bin/linuxdeployqt https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage && chmod a+x $HOME/bin/linuxdeployqt; fi' before_build: - - 'git submodule update --init --recursive' + - 'git -c submodule.libs.update=none submodule update --init --recursive' + - cmd: 'git submodule update --init --recursive' + - sh: '[ "$BUILD_TARGET" != macos ] || git submodule update --init --recursive' - cmd: 'set OLDPATH=%PATH%' - cmd: 'set /p VERSION=