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" import ospaths, strutils task test, "Run tests": for filename in listFiles("tests"): if filename.startsWith("tests" / "test_") and filename.endsWith(".nim"): exec "nim c -r " & filename rmFile filename[0..^5]