2020-12-21 11:45:07 +00:00
|
|
|
mode = ScriptMode.Verbose
|
|
|
|
|
|
|
|
packageName = "serialization"
|
|
|
|
version = "0.1.0"
|
|
|
|
author = "Status Research & Development GmbH"
|
|
|
|
description = "A modern and extensible serialization framework for Nim"
|
|
|
|
license = "Apache License 2.0"
|
|
|
|
skipDirs = @["tests"]
|
|
|
|
|
|
|
|
requires "nim >= 1.2.0",
|
|
|
|
"faststreams",
|
2021-10-06 13:10:43 +00:00
|
|
|
"unittest2",
|
2020-12-21 11:45:07 +00:00
|
|
|
"stew"
|
|
|
|
|
|
|
|
task test, "Run all tests":
|
2022-01-14 09:51:22 +00:00
|
|
|
let common_args = "c -r -f --hints:off --skipParentCfg --styleCheck:usages --styleCheck:error " & getEnv("NIMFLAGS")
|
2021-06-09 14:59:52 +00:00
|
|
|
exec "nim " & common_args & " --threads:off tests/test_all"
|
|
|
|
exec "nim " & common_args & " --threads:on tests/test_all"
|