Skip to content

Commit 47148a1

Browse files
authored
update script to use releases (#232)
also do a shallow clone, we dont need history of all deps -- just the most recent one
1 parent 0faa37f commit 47148a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deps/build-deps-linux.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ rm -rf aom
2626
rm -rf libavif
2727

2828
if [ ! -d "$SRCDIR" ]; then
29-
git clone https://github.com/discord/lilliput-dep-source "$SRCDIR"
29+
git clone --depth 1 --branch 1.0.0 https://github.com/discord/lilliput-dep-source "$SRCDIR"
3030
fi
3131

3232
echo '\n--------------------'

deps/build-deps-osx.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ rm -rf aom
5252
rm -rf libavif
5353

5454
if [ ! -d "$SRCDIR" ]; then
55-
git clone https://github.com/discord/lilliput-dep-source "$SRCDIR"
55+
git clone --depth 1 --branch 1.0.0 https://github.com/discord/lilliput-dep-source "$SRCDIR"
5656
fi
5757

5858
echo '\n--------------------'

0 commit comments

Comments
 (0)