oops wrong version

This commit is contained in:
Ben 2024-08-14 10:48:35 +02:00
parent 2fd6c7dd03
commit 437643124d
No known key found for this signature in database
GPG Key ID: 0F16E812E736C24B
3 changed files with 5 additions and 7 deletions

View File

@ -1,8 +1,6 @@
switch("define", "libp2p_pki_schemes=secp256k1") switch("define", "libp2p_pki_schemes=secp256k1")
include "build.nims"
# begin Nimble config (version 2) # begin Nimble config (version 2)
--noNimblePath --noNimblePath
when withDir(thisDir(), system.fileExists("nimble.paths")): when withDir(thisDir(), system.fileExists("nimble.paths")):

View File

@ -1,13 +1,13 @@
import std / [os, strutils, sequtils] import std / [os, strutils, sequtils]
task testAll, "Run DHT tests": task testAll, "Run DHT tests":
exec "nim c -r testAll.nim" exec "nim c -r test.nim"
rmFile "./testAll" rmFile "./test"
task test, "Run DHT tests": task test, "Run DHT tests":
# compile with trace logging to make sure it doesn't crash # compile with trace logging to make sure it doesn't crash
exec "nim c -d:testsAll -d:chronicles_enabled=on -d:chronicles_log_level=TRACE testAll.nim" exec "nim c -d:testsAll -d:chronicles_enabled=on -d:chronicles_log_level=TRACE test.nim"
rmFile "./testAll" rmFile "./test"
exec "nim c -r -d:testsAll --verbosity:0 testAllParallel.nim" exec "nim c -r -d:testsAll --verbosity:0 testAllParallel.nim"
rmFile "./testAllParallel" rmFile "./testAllParallel"

View File

@ -6,6 +6,6 @@ description = "Tests for Codex DHT"
license = "MIT" license = "MIT"
# Dependencies # Dependencies
requires "asynctest >= 0.5.3 & < 0.6.0" requires "asynctest >= 0.5.2 & < 0.6.0"
include "build.nims" include "build.nims"