mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-29 17:06:15 +01:00
5c09c9e977
Use the depth= argument from Meson 0.52 to limit the clone depth of subprojects to 1. This should make the CI images a little smaller, and reduce the bandwidth required to build them (although that’s not so important because it only happens once every few months). Similarly, only clone to a depth of 1 in `cache-subprojects.sh`, which is run once every few months. Signed-off-by: Philip Withnall <withnall@endlessm.com>
10 lines
197 B
Bash
Executable File
10 lines
197 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
git clone --depth 1 --no-tags https://gitlab.gnome.org/GNOME/glib.git
|
|
meson subprojects download --sourcedir glib
|
|
rm glib/subprojects/*.wrap
|
|
mv glib/subprojects/ .
|
|
rm -rf glib
|