From dfdf6ae784de50047b1dd26984626c331b02fca9 Mon Sep 17 00:00:00 2001 From: Ivan FB Date: Sun, 5 Apr 2026 13:12:25 +0200 Subject: [PATCH] cleanup nph from vendor folder as it is installed through nimble --- .gitmodules | 5 ----- Makefile | 10 +++------- vendor/nph | 1 - 3 files changed, 3 insertions(+), 13 deletions(-) delete mode 160000 vendor/nph diff --git a/.gitmodules b/.gitmodules index 3bced9019..ac07235b8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/Makefile b/Makefile index 0c32da864..3ea6514a9 100644 --- a/Makefile +++ b/Makefile @@ -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 ## diff --git a/vendor/nph b/vendor/nph deleted file mode 160000 index 2cacf6cc2..000000000 --- a/vendor/nph +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2cacf6cc28116e4046e0b67a13545af5c4e756bd