Skip to content

Commit

Permalink
refactor(wakunode2): split setup logic into app module
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenzo Delgado committed Apr 25, 2023
1 parent c6d291d commit c8081c8
Show file tree
Hide file tree
Showing 10 changed files with 935 additions and 726 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ jobs:
key: ${{ runner.os }}-zerokit-${{ steps.submodules.outputs.zerokit-hash }}

- name: Run tests
run: make V=1 LOG_LEVEL=DEBUG test2
run: make V=1 LOG_LEVEL=DEBUG test2 testwakunode2
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
key: ${{ runner.os }}-nim-${{ steps.submodules.outputs.nim-hash }}

- name: Run tests
run: make V=1 LOG_LEVEL=DEBUG test2
run: make V=1 LOG_LEVEL=DEBUG test2 testwakunode2


build-legacy:
Expand Down
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ testcommon: | build deps
#############
## Waku v2 ##
#############
.PHONY: testwaku2 wakunode2 example2 sim2 scripts2 wakubridge chat2 chat2bridge
.PHONY: testwaku2 wakunode2 testwakunode2 example2 sim2 scripts2 wakubridge testbridge chat2 chat2bridge

testwaku2: | build deps librln
echo -e $(BUILD_MSG) "build/$@" && \
Expand All @@ -156,6 +156,10 @@ wakunode2: | build deps librln
echo -e $(BUILD_MSG) "build/$@" && \
$(ENV_SCRIPT) nim wakunode2 $(NIM_PARAMS) $(EXPERIMENTAL_PARAMS) waku.nims

testwakunode2: | build deps librln
echo -e $(BUILD_MSG) "build/$@" && \
$(ENV_SCRIPT) nim testwakunode2 $(NIM_PARAMS) $(EXPERIMENTAL_PARAMS) waku.nims

example2: | build deps
echo -e $(BUILD_MSG) "build/$@" && \
$(ENV_SCRIPT) nim example2 $(NIM_PARAMS) waku.nims
Expand All @@ -174,6 +178,10 @@ wakubridge: | build deps
echo -e $(BUILD_MSG) "build/$@" && \
$(ENV_SCRIPT) nim bridge $(NIM_PARAMS) waku.nims

testbridge: | build deps librln
echo -e $(BUILD_MSG) "build/$@" && \
$(ENV_SCRIPT) nim testbridge $(NIM_PARAMS) $(EXPERIMENTAL_PARAMS) waku.nims

chat2: | build deps librln
echo -e $(BUILD_MSG) "build/$@" && \
$(ENV_SCRIPT) nim chat2 $(NIM_PARAMS) $(EXPERIMENTAL_PARAMS) waku.nims
Expand Down

0 comments on commit c8081c8

Please sign in to comment.