mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-11 10:23:06 +00:00
chore: add run-wakunode2 task to makefile
To easily build and run wakunode2 from makefile.
This commit is contained in:
parent
927f96805c
commit
d9c6d77295
7
Makefile
7
Makefile
@ -179,7 +179,7 @@ testcommon: | build deps
|
||||
##########
|
||||
## Waku ##
|
||||
##########
|
||||
.PHONY: testwaku wakunode2 testwakunode2 example2 chat2 chat2bridge liteprotocoltester
|
||||
.PHONY: testwaku wakunode2 run-wakunode2 testwakunode2 example2 chat2 chat2bridge liteprotocoltester
|
||||
|
||||
# install anvil only for the testwaku target
|
||||
testwaku: | build deps anvil librln
|
||||
@ -190,6 +190,9 @@ wakunode2: | build deps librln
|
||||
echo -e $(BUILD_MSG) "build/$@" && \
|
||||
$(ENV_SCRIPT) nim wakunode2 $(NIM_PARAMS) waku.nims
|
||||
|
||||
run-wakunode2: | wakunode2
|
||||
./build/wakunode2 $(ARGS)
|
||||
|
||||
benchmarks: | build deps librln
|
||||
echo -e $(BUILD_MSG) "build/$@" && \
|
||||
$(ENV_SCRIPT) nim benchmarks $(NIM_PARAMS) waku.nims
|
||||
@ -429,4 +432,4 @@ negentropy:
|
||||
cp vendor/negentropy/cpp/libnegentropy.so ./
|
||||
negentropy-clean:
|
||||
$(MAKE) -C vendor/negentropy/cpp clean && \
|
||||
rm libnegentropy.so
|
||||
rm libnegentropy.so
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user