cleanup nph from vendor folder as it is installed through nimble

This commit is contained in:
Ivan FB 2026-04-05 13:12:25 +02:00
parent b33af24728
commit dfdf6ae784
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270
3 changed files with 3 additions and 13 deletions

5
.gitmodules vendored
View File

@ -3,11 +3,6 @@
url = https://github.com/vacp2p/zerokit.git
ignore = dirty
branch = v0.5.1
[submodule "vendor/nph"]
ignore = untracked
branch = master
path = vendor/nph
url = https://github.com/arnetheduck/nph.git
[submodule "vendor/waku-rlnv2-contract"]
path = vendor/waku-rlnv2-contract
url = https://github.com/logos-messaging/waku-rlnv2-contract.git

View File

@ -289,7 +289,7 @@ networkmonitor: | $(NIMBLEDEPS_STAMP) build deps librln
############
## Format ##
############
.PHONY: build-nph install-nph clean-nph print-nph-path
.PHONY: build-nph install-nph print-nph-path
build-nph: | build deps
ifneq ($(detected_OS),Windows)
@ -299,8 +299,7 @@ ifneq ($(detected_OS),Windows)
echo "Installing nph globally"; \
(cd /tmp && nimble install nph@0.7.0 --accept -g); \
fi
echo "Check if nph utility is available"
PATH="$(CURDIR)/nimbledeps/bin:$$PATH" command -v nph
command -v nph
else
echo "Skipping nph build on Windows (nph is only used on Unix-like systems)"
endif
@ -319,13 +318,10 @@ nph/%: | build-nph
echo -e $(FORMAT_MSG) "nph/$*" && \
$(NPH) $*
clean-nph:
rm -f $(NPH)
print-nph-path:
@echo "$(NPH)"
clean: | clean-nph
clean:
###################
## Documentation ##

1
vendor/nph vendored

@ -1 +0,0 @@
Subproject commit 2cacf6cc28116e4046e0b67a13545af5c4e756bd