22 lines
536 B
Nim
22 lines
536 B
Nim
mode = ScriptMode.Verbose
|
|
|
|
packageName = "json_serialization"
|
|
version = "0.1.0"
|
|
author = "Status Research & Development GmbH"
|
|
description = "Flexible JSON serialization not relying on run-time type information"
|
|
license = "Apache License 2.0"
|
|
skipDirs = @["tests"]
|
|
|
|
requires "nim >= 0.17.0",
|
|
"serialization",
|
|
"std_shims"
|
|
|
|
task test, "Run tests":
|
|
for filename in [
|
|
"test_lexer",
|
|
"test_serialization",
|
|
]:
|
|
exec "nim c -r tests/" & filename
|
|
rmFile "tests/" & filename
|
|
|