summaryrefslogtreecommitdiff
path: root/tommath.nimble
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2018-03-12 17:46:22 +0200
committerOskari Timperi <oskari.timperi@iki.fi>2018-03-12 17:46:22 +0200
commit074875f3719f42332a7403c0681f66a27268e803 (patch)
treefee56f8ec51f6bbc9b35e3ec7769c19ea9de1a27 /tommath.nimble
parentd82cbba2aa24df5b720807db9cb9596c1a711f36 (diff)
downloadtommath-nim-074875f3719f42332a7403c0681f66a27268e803.tar.gz
tommath-nim-074875f3719f42332a7403c0681f66a27268e803.zip
Building static library
Diffstat (limited to 'tommath.nimble')
-rw-r--r--tommath.nimble15
1 files changed, 15 insertions, 0 deletions
diff --git a/tommath.nimble b/tommath.nimble
new file mode 100644
index 0000000..a395249
--- /dev/null
+++ b/tommath.nimble
@@ -0,0 +1,15 @@
+# Package
+
+version = "0.1.0"
+author = "Oskari Timperi"
+description = "libtommath for Nim"
+license = "MIT"
+srcDir = "src"
+
+# Dependencies
+
+requires "nim >= 0.18.0"
+
+before install:
+ exec "git clone --branch v1.0.1 https://github.com/libtom/libtommath.git /tmp/source-libtommath"
+ exec "nim c -r tools/libtommath.nim"