From cdad67ee80bd691c4846367bc9238216fb34941b Mon Sep 17 00:00:00 2001 From: darshankabariya Date: Sat, 20 Dec 2025 00:14:00 +0530 Subject: [PATCH] chore: daily ci improvement --- README.md | 13 ++++++++----- waku/Makefile | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bb8df0b..d9252e6 100644 --- a/README.md +++ b/README.md @@ -17,14 +17,17 @@ go get -u github.com/logos-messaging/logos-messaging-go-bindings If you want to invoke `go build` or `go test` directly, export the same variables the Makefile sets: ```bash # path to your existing logos-messaging-nim clone - export LMN_DIR=/path/to/logos-messaging-nim - export CGO_CFLAGS="-I${LMN_DIR}/library/" - export CGO_LDFLAGS="-L${LMN_DIR}/build/ -lwaku -Wl,-rpath,${LMN_DIR}/build/" + export LMN_DIR=/absolute/path/to/logos-messaging-nim + export CGO_CFLAGS="-I${LMN_DIR}/library" + export CGO_LDFLAGS="-L${LMN_DIR}/build -lwaku -Wl,-rpath,${LMN_DIR}/build" # compile all packages - go build ./... + go build ./waku - # run a specific test (no cache) + # run all tests + go test ./waku + + # run a specific test go test ./waku -count=1 -run TestConnectedPeersInfo -v ``` diff --git a/waku/Makefile b/waku/Makefile index d00c65e..343d87b 100644 --- a/waku/Makefile +++ b/waku/Makefile @@ -50,7 +50,7 @@ check-folders: # Build SDS Go Bindings build: build-libwaku @echo "Building Waku Go Bindings..." - go build ./... + go build ./waku # Build libwaku from the nwaku submodule # Build libwaku once (clone if needed). Skips work when headers & libs already exist.