summaryrefslogtreecommitdiff
path: root/tommath.nimble
blob: f36812ba2e9c632c8d826d2398fee9b0fdb7f737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Package

version       = "0.1.0"
author        = "Oskari Timperi"
description   = "libtommath for Nim"
license       = "MIT"
srcDir        = "src"

# Dependencies

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 "nim c -r tools/libtommath.nim"