summaryrefslogtreecommitdiff
path: root/tommath.nimble
diff options
context:
space:
mode:
Diffstat (limited to 'tommath.nimble')
-rw-r--r--tommath.nimble4
1 files changed, 3 insertions, 1 deletions
diff --git a/tommath.nimble b/tommath.nimble
index a395249..f36812b 100644
--- a/tommath.nimble
+++ b/tommath.nimble
@@ -11,5 +11,7 @@ srcDir = "src"
requires "nim >= 0.18.0"
before install:
- exec "git clone --branch v1.0.1 https://github.com/libtom/libtommath.git /tmp/source-libtommath"
+ if not existsEnv("TOMMATH_NO_CLONE"):
+ exec "git clone --branch v1.0.1 https://github.com/libtom/libtommath.git /tmp/source-libtommath"
+
exec "nim c -r tools/libtommath.nim"