mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-01-12 19:34:23 +00:00
*.nimble: remove imports
This commit is contained in:
parent
f8dc3abe36
commit
77e621b9d7
@ -11,9 +11,12 @@ requires "nim > 0.18.0",
|
||||
"nimcrypto >= 0.3.9",
|
||||
"chronos"
|
||||
|
||||
import ospaths, strutils, distros
|
||||
proc runTest(filename: string) =
|
||||
exec "nim c -r tests/" & filename
|
||||
rmFile "tests/" & filename
|
||||
|
||||
task test, "Runs the test suite":
|
||||
exec "nim c -r " & ("tests" / "testnative.nim")
|
||||
if not detectOs(Windows):
|
||||
exec "nim c -r " & ("tests" / "testdaemon.nim")
|
||||
runTest "testnative"
|
||||
when not defined(windows):
|
||||
runTest "testdaemon"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user