constantine/hardy.nimble

22 lines
551 B
Plaintext
Raw Normal View History

2018-07-24 14:52:18 +00:00
packageName = "hardy"
version = "0.0.1"
author = "Status Research & Development GmbH"
description = "This library provides constant time big int primitives."
2018-07-24 14:52:18 +00:00
license = "MIT or Apache License 2.0"
srcDir = "src"
### Dependencies
requires "nim >= 0.18.0"
### Helper functions
proc test(name: string, defaultLang = "c") =
if not dirExists "build":
mkDir "build"
--run
switch("out", ("./build/" & name))
setCommand defaultLang, "tests/" & name & ".nim"
### tasks
task test, "Run all tests":
test "all_tests"