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