We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1bf942e + f0e2488 commit ae27ef4Copy full SHA for ae27ef4
system/bc-setup-all
@@ -26,15 +26,15 @@ def setup_db(version)
26
end
27
28
if !File.directory?(BITCLUST_BASE)
29
- `git clone https://github.com/rurema/bitclust.git #{BITCLUST_BASE}`
+ `git clone --depth 1 https://github.com/rurema/bitclust.git #{BITCLUST_BASE}`
30
31
32
if !File.directory?(DOC_BASE)
33
- `git clone https://github.com/rurema/doctree.git #{DOC_BASE}`
+ `git clone --depth 1 https://github.com/rurema/doctree.git #{DOC_BASE}`
34
35
36
Dir.chdir(DOC_BASE) do
37
- system "git pull --rebase"
+ system "git pull --depth 1 --rebase"
38
39
40
VERSIONS.reverse_each do |version|
0 commit comments