2018-04-25 00:13:46 +00:00
|
|
|
mode = ScriptMode.Verbose
|
|
|
|
|
|
|
|
packageName = "chronicles"
|
2022-07-19 13:13:35 +00:00
|
|
|
version = "0.10.3"
|
2018-04-25 00:13:46 +00:00
|
|
|
author = "Status Research & Development GmbH"
|
2018-06-19 13:01:26 +00:00
|
|
|
description = "A crafty implementation of structured logging for Nim"
|
2018-04-25 00:13:46 +00:00
|
|
|
license = "Apache License 2.0"
|
|
|
|
skipDirs = @["tests"]
|
|
|
|
|
2023-06-12 21:07:24 +00:00
|
|
|
requires "nim >= 1.6.0"
|
2020-02-22 02:04:20 +00:00
|
|
|
requires "json_serialization"
|
2018-04-25 00:13:46 +00:00
|
|
|
|
2024-04-24 05:15:14 +00:00
|
|
|
when NimMajor >= 2:
|
|
|
|
taskRequires "test", "testutils"
|
|
|
|
else:
|
|
|
|
requires "testutils"
|
|
|
|
|
2018-04-25 00:13:46 +00:00
|
|
|
task test, "run CPU tests":
|
2024-05-01 12:36:59 +00:00
|
|
|
when defined(windows):
|
|
|
|
exec "ntu.cmd test tests"
|
|
|
|
else:
|
|
|
|
exec "ntu test tests"
|