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:
parent
60a2b5a8d0
commit
29b9f90d90
2 changed files with 3 additions and 1 deletions
|
@ -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
2
.gitmodules
vendored
|
@ -10,3 +10,5 @@
|
|||
[submodule "typescript"]
|
||||
path = deno_typescript/typescript
|
||||
url = https://github.com/microsoft/TypeScript.git
|
||||
fetchRecurseSubmodules = false
|
||||
shallow = true
|
||||
|
|
Loading…
Reference in a new issue