From 3355e6da0c2883f33992c4b2bcac7ce3067a529b Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 4 Jun 2019 12:50:46 +0300 Subject: [PATCH] Use 0.5.0 version of range-v3. --- .appveyor/install.bat | 5 +---- .travis/build.sh | 4 ++-- snap/snapcraft.yaml | 1 + 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.appveyor/install.bat b/.appveyor/install.bat index 77b4e7cbd..f786c193f 100644 --- a/.appveyor/install.bat +++ b/.appveyor/install.bat @@ -28,10 +28,7 @@ GOTO:EOF git clone -q --depth 1 --branch=master https://github.com/telegramdesktop/dependencies_windows.git %LIB_DIR% cd %LIB_DIR% - git clone https://github.com/ericniebler/range-v3 - cd range-v3 - git checkout 0.5.0 - cd .. + git clone --depth 1 --branch 0.5.0 https://github.com/ericniebler/range-v3 if exist prepare.bat ( call prepare.bat diff --git a/.travis/build.sh b/.travis/build.sh index 10accedfb..dd8d7fe65 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -28,7 +28,7 @@ GYP_CACHE_VERSION="3" GYP_PATCH="$UPSTREAM/Telegram/Patches/gyp.diff" RANGE_PATH="$BUILD/range-v3" -RANGE_CACHE_VERSION="3" +RANGE_CACHE_VERSION="4" VA_PATH="$BUILD/libva" VA_CACHE_VERSION="3" @@ -216,7 +216,7 @@ buildRange() { rm -rf * cd "$EXTERNAL" - git clone --depth=1 https://github.com/ericniebler/range-v3 + git clone --depth 1 --branch 0.5.0 https://github.com/ericniebler/range-v3 cd "$EXTERNAL/range-v3" cp -r * "$RANGE_PATH/" diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 733b7a7ba..da0a7ffc9 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -392,6 +392,7 @@ parts: range-v3: source: https://github.com/ericniebler/range-v3.git source-depth: 1 + source-tag: 0.5.0 plugin: nil override-build: | set -x