nim-json-serialization/json_serialization.nimble

22 lines
596 B
Plaintext
Raw Normal View History

2018-11-10 00:16:09 +00:00
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"
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",
"std_shims"
2018-11-10 00:16:09 +00:00
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]