mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-05-12 13:29:42 +00:00
fix: restore -d:postgres in nimble task and propagate NIMFLAGS
This commit is contained in:
parent
ff98d85313
commit
54e695f4b6
@ -76,7 +76,7 @@ proc getMyCPU(): string =
|
||||
return " --cpu:amd64 "
|
||||
|
||||
proc getNimParams(): string =
|
||||
return " " & getEnv("NIM_PARAMS") & " "
|
||||
return " " & getEnv("NIM_PARAMS") & " " & getEnv("NIMFLAGS") & " "
|
||||
|
||||
### Helper functions
|
||||
proc buildModule(filePath, params = ""): bool =
|
||||
@ -379,7 +379,7 @@ task testcommon, "Build & run common tests":
|
||||
### Waku tasks
|
||||
task wakunode2, "Build Waku v2 cli node":
|
||||
let name = "wakunode2"
|
||||
buildBinary name, "apps/wakunode2/", " -d:chronicles_log_level=TRACE "
|
||||
buildBinary name, "apps/wakunode2/", " -d:chronicles_log_level=TRACE -d:postgres "
|
||||
|
||||
task benchmarks, "Some benchmarks":
|
||||
let name = "benchmarks"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user