avoid using sudo for make (#48)

This commit is contained in:
Vaclav Pavlin 2025-03-11 10:57:48 +01:00 committed by GitHub
parent d838ad1492
commit b33e5b5431
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions

View File

@ -20,9 +20,14 @@ Follow these steps to install and set up the module:
```
cd $(go list -m -f '{{.Dir}}' github.com/waku-org/waku-go-bindings)
```
4. Build the dependencies:
4. Prepare third_party directory and clone nwaku
```
sudo make -C waku
sudo mkdir third_party
sudo chown $USER third_party
```
5. Build the dependencies:
```
make -C waku
```
Now the module is ready for use in your project.

View File

@ -14,7 +14,7 @@ all: build
prepare:
@echo "Creating third_party directory..."
@mkdir -p $(THIRD_PARTY_DIR)
@echo "Cloning nwaku repository..."
@if [ ! -d "$(NWAKU_DIR)" ]; then \
cd $(THIRD_PARTY_DIR) && \