2018-11-10 00:16:09 +00:00
|
|
|
mode = ScriptMode.Verbose
|
|
|
|
|
|
|
|
packageName = "json_serialization"
|
|
|
|
version = "0.1.0"
|
|
|
|
author = "Status Research & Development GmbH"
|
2018-11-11 11:45:34 +00:00
|
|
|
description = "Flexible JSON serialization not relying on run-time type information"
|
2018-11-10 00:16:09 +00:00
|
|
|
license = "Apache License 2.0"
|
|
|
|
skipDirs = @["tests"]
|
|
|
|
|
|
|
|
requires "nim >= 0.17.0",
|
2018-12-17 23:01:06 +00:00
|
|
|
"serialization",
|
2019-07-07 09:46:32 +00:00
|
|
|
"stew"
|
2018-11-10 00:16:09 +00:00
|
|
|
|
2019-03-13 23:39:10 +00:00
|
|
|
task test, "Run tests":
|
2019-03-25 21:32:41 +00:00
|
|
|
for filename in [
|
|
|
|
"test_lexer",
|
|
|
|
"test_serialization",
|
|
|
|
]:
|
|
|
|
exec "nim c -r tests/" & filename
|
|
|
|
rmFile "tests/" & filename
|
2019-03-13 23:39:10 +00:00
|
|
|
|