From f8d102a42e5552601a53bfb7a508b6bccaec1a0c Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Mon, 12 Mar 2018 21:34:32 +0200 Subject: Don't clone all the history of libtommath --- tommath.nimble | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3