Merge pull request #1384 from jagerman/shallow-clone

Drone: Shallow clone submodules
This commit is contained in:
Jason Rhinelander 2020-10-02 20:21:49 -03:00 committed by GitHub
commit c2519a1619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ local default_windows_deps='mingw-w64-binutils mingw-w64-gcc mingw-w64-crt mingw
local submodules = { local submodules = {
name: 'submodules', name: 'submodules',
image: 'drone/git', image: 'drone/git',
commands: ['git fetch --tags', 'git submodule update --init --recursive'] commands: ['git fetch --tags', 'git submodule update --init --recursive --depth=1']
}; };
// Regular build on a debian-like system: // Regular build on a debian-like system: