summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2018-03-12 21:34:32 +0200
committerOskari Timperi <oskari.timperi@iki.fi>2018-03-12 21:34:32 +0200
commitf8d102a42e5552601a53bfb7a508b6bccaec1a0c (patch)
tree502af40a21762b72e97fa4a0abcf2e424090302a
parent490ca14283e72ca02a47046bae940128a16a6555 (diff)
downloadtommath-nim-f8d102a42e5552601a53bfb7a508b6bccaec1a0c.tar.gz
tommath-nim-f8d102a42e5552601a53bfb7a508b6bccaec1a0c.zip
Don't clone all the history of libtommath
-rw-r--r--tommath.nimble2
1 files changed, 1 insertions, 1 deletions
diff --git a/tommath.nimble b/tommath.nimble
index f36812b..2ef2fca 100644
--- a/tommath.nimble
+++ b/tommath.nimble
@@ -12,6 +12,6 @@ requires "nim >= 0.18.0"
before install:
if not existsEnv("TOMMATH_NO_CLONE"):
- exec "git clone --branch v1.0.1 https://github.com/libtom/libtommath.git /tmp/source-libtommath"
+ exec "git clone --branch v1.0.1 --depth 1 https://github.com/libtom/libtommath.git /tmp/source-libtommath"
exec "nim c -r tools/libtommath.nim"