mirror of
https://github.com/logos-storage/nim-libp2p.git
synced 2026-01-04 06:33:10 +00:00
* debug prints * CI: enable stack traces * Azure: better NimBinaries cache key * CI changes - Azure: remove Linux target - Travis: add ARM64 target * uglify the code in order to save 12 bytes per LPStream object
26 lines
679 B
Nim
26 lines
679 B
Nim
mode = ScriptMode.Verbose
|
|
|
|
packageName = "libp2p"
|
|
version = "0.0.2"
|
|
author = "Status Research & Development GmbH"
|
|
description = "LibP2P implementation"
|
|
license = "MIT"
|
|
skipDirs = @["tests", "examples", "Nim"]
|
|
|
|
requires "nim > 0.19.4",
|
|
"secp256k1",
|
|
"nimcrypto >= 0.4.1",
|
|
"chronos >= 2.3.8",
|
|
"bearssl >= 0.1.4",
|
|
"chronicles >= 0.7.1",
|
|
"stew"
|
|
|
|
proc runTest(filename: string) =
|
|
exec "nim c -r --opt:speed -d:debug --verbosity:0 --hints:off tests/" & filename
|
|
rmFile "tests/" & filename.toExe
|
|
|
|
task test, "Runs the test suite":
|
|
runTest "testnative"
|
|
runTest "testdaemon"
|
|
runTest "testinterop"
|