1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

Use shallow submodules, don't clone Typescript recursively

This commit is contained in:
Bert Belder 2019-09-17 17:49:38 +02:00
parent 60a2b5a8d0
commit 29b9f90d90
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
2 changed files with 3 additions and 1 deletions

View file

@ -94,7 +94,7 @@ install:
# Clone the third_party submodule.
- ps: |-
try {
Exec { & git submodule update --init --force --depth 1 }
Exec { & git submodule update --init --force --depth 1 --jobs 4 }
} catch {
# Git will fail if the `third_party` directory was restored from cache,
# but the `.git/modules` directory wasn't. Rebuild it from scratch.

2
.gitmodules vendored
View file

@ -10,3 +10,5 @@
[submodule "typescript"]
path = deno_typescript/typescript
url = https://github.com/microsoft/TypeScript.git
fetchRecurseSubmodules = false
shallow = true