2023-08-09 10:06:34 +00:00
|
|
|
# nim-raft
|
|
|
|
# Copyright (c) 2023 Status Research & Development GmbH
|
|
|
|
# Licensed under either of
|
|
|
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
|
|
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
|
|
|
# at your option.
|
|
|
|
# This file may not be copied, modified, or distributed except according to
|
|
|
|
# those terms.
|
|
|
|
|
|
|
|
mode = ScriptMode.Verbose
|
|
|
|
|
|
|
|
packageName = "raft"
|
|
|
|
version = "0.0.1"
|
|
|
|
author = "Status Research & Development GmbH"
|
|
|
|
description = "raft consensus in nim"
|
|
|
|
license = "Apache License 2.0"
|
|
|
|
skipDirs = @["tests"]
|
|
|
|
|
2023-08-31 16:18:29 +00:00
|
|
|
requires "nim >= 1.6.14"
|
2023-08-09 10:06:34 +00:00
|
|
|
requires "stew >= 0.1.0"
|
|
|
|
requires "unittest2 >= 0.0.4"
|
2023-08-25 09:00:40 +00:00
|
|
|
requires "uuids >= 0.1.11"
|
2023-09-03 04:03:09 +00:00
|
|
|
requires "nimterop >= 0.6.13"
|
2023-08-09 10:06:34 +00:00
|
|
|
|
2023-08-31 16:18:29 +00:00
|
|
|
task test, "Run tests":
|
2024-02-09 14:56:33 +00:00
|
|
|
exec "nim c -r tests/test_consensus_state_machine.nim "
|
2023-08-31 16:18:29 +00:00
|
|
|
|