File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ version = "0.5.3"
5
5
6
6
[deps ]
7
7
AbstractTrees = " 1520ce14-60c1-5f80-bbc7-55ef81b5835c"
8
+ Git = " d7ba0133-e1db-5d97-8f8c-041e4b3a1eb2"
8
9
Gumbo = " 708ec375-b3d6-5a57-a7ce-8257bf98657a"
9
10
HypertextLiteral = " ac1192a8-f4b3-4bfe-ba22-af5b92cd3ab2"
10
11
JSON = " 682c06a0-de6a-54ab-a142-c8b1cf79cde6"
@@ -13,6 +14,7 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
13
14
14
15
[compat ]
15
16
AbstractTrees = " 0.4"
17
+ Git = " 1"
16
18
Gumbo = " 0.8.2"
17
19
HypertextLiteral = " 0.9"
18
20
JSON = " 0.20,0.21"
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ module MultiDocumenter
2
2
3
3
import Gumbo, AbstractTrees
4
4
using HypertextLiteral
5
+ import Git: git
5
6
6
7
"""
7
8
SearchConfig(index_versions = ["stable"], engine = MultiDocumenter.FlexSearch, lowfi = false)
@@ -170,7 +171,9 @@ function maybe_clone(docs::Vector{MultiDocRef})
170
171
for doc in docs
171
172
if ! isdir (doc. upstream)
172
173
@info " Upstream at $(doc. upstream) does not exist. `git clone`ing `$(doc. giturl) #$(doc. branch) `"
173
- run (` git clone --depth 1 $(doc. giturl) --branch $(doc. branch) --single-branch $(doc. upstream) ` )
174
+ run (
175
+ ` $(git ()) clone --depth 1 $(doc. giturl) --branch $(doc. branch) --single-branch $(doc. upstream) ` ,
176
+ )
174
177
end
175
178
end
176
179
end
You can’t perform that action at this time.
0 commit comments