2018-12-18 15:39:39 +00:00
|
|
|
mode = ScriptMode.Verbose
|
|
|
|
|
2019-07-06 17:12:24 +00:00
|
|
|
packageName = "stew"
|
2018-12-18 15:39:39 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
author = "Status Research & Development GmbH"
|
2019-05-08 20:05:16 +00:00
|
|
|
description = "Backports, standard library candidates and small utilities that don't yet deserve their own repository"
|
2018-12-18 15:39:39 +00:00
|
|
|
license = "Apache License 2.0"
|
|
|
|
skipDirs = @["tests"]
|
|
|
|
|
2020-04-11 14:22:37 +00:00
|
|
|
requires "nim >= 1.2.0"
|
2019-07-06 18:00:37 +00:00
|
|
|
|
|
|
|
task test, "Run all tests":
|
|
|
|
exec "nim c -r --threads:off tests/all_tests"
|
2020-03-29 15:34:45 +00:00
|
|
|
exec "nim c -r --threads:on -d:nimTypeNames tests/all_tests"
|
2020-06-15 14:09:41 +00:00
|
|
|
|
|
|
|
task testvcc, "Run all tests with vcc compiler":
|
|
|
|
exec "nim c -r --cc:vcc --threads:off tests/all_tests"
|
|
|
|
exec "nim c -r --cc:vcc --threads:on -d:nimTypeNames tests/all_tests"
|