chore: simplify the process

This commit is contained in:
darshankabariya 2026-01-05 14:21:36 +05:30
parent 3c554d5354
commit cc1f4575c0
No known key found for this signature in database
GPG Key ID: 9A92CCD9899F0D22

View File

@ -87,11 +87,13 @@ waku.nims:
# Update dependencies using Nimble
# This is the ONLY target that should install/update Nimble packages
update: | waku.nims
@echo "Installing/updating Nimble dependencies..."
@echo -e $(INFO_MSG) "Updating vendor submodules..."
git submodule update --init vendor/zerokit vendor/waku-rlnv2-contract vendor/nph vendor/nim-ffi
@echo -e $(INFO_MSG) "Installing/updating Nimble dependencies..."
nimble install --depsOnly -y
@echo "Building nph formatter..."
@echo -e $(INFO_MSG) "Building nph formatter..."
$(MAKE) build-nph
@echo "Dependencies updated successfully!"
@echo -e $(INFO_MSG) "Update complete!"
clean:
rm -rf build