mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-02 14:03:10 +00:00
chore: makefile
This commit is contained in:
parent
58940a5eb2
commit
e5d92ec09b
@ -12,18 +12,10 @@ all: build
|
|||||||
|
|
||||||
# Prepare third_party directory and clone nwaku
|
# Prepare third_party directory and clone nwaku
|
||||||
prepare:
|
prepare:
|
||||||
@echo "Creating third_party directory..."
|
@echo "Fetching nwaku..."
|
||||||
@mkdir -p $(THIRD_PARTY_DIR)
|
@mkdir -p $(THIRD_PARTY_DIR)
|
||||||
|
cd .. && git submodule update --init --recursive
|
||||||
@echo "Cloning nwaku repository..."
|
cd $(NWAKU_DIR) && make update
|
||||||
@if [ ! -d "$(NWAKU_DIR)" ]; then \
|
|
||||||
cd $(THIRD_PARTY_DIR) && \
|
|
||||||
git clone $(NWAKU_REPO) && \
|
|
||||||
cd $(NWAKU_DIR) && \
|
|
||||||
make update; \
|
|
||||||
else \
|
|
||||||
echo "nwaku repository already exists."; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Build libwaku
|
# Build libwaku
|
||||||
build-libwaku: prepare
|
build-libwaku: prepare
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user