avoid using sudo for make

This commit is contained in:
Václav Pavlín 2025-03-10 14:44:13 +01:00
parent d838ad1492
commit fe41e3a818
No known key found for this signature in database
GPG Key ID: B378FB31BB6D89A5
2 changed files with 6 additions and 4 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. Prepare third_party directory and clone nwaku
```
sudo mkdir third_party
chown $USER:$USER third_party
```
4. Build the dependencies:
```
sudo make -C waku
make -C waku
```
Now the module is ready for use in your project.

View File

@ -12,9 +12,6 @@ all: build
# Prepare third_party directory and clone nwaku
prepare:
@echo "Creating third_party directory..."
@mkdir -p $(THIRD_PARTY_DIR)
@echo "Cloning nwaku repository..."
@if [ ! -d "$(NWAKU_DIR)" ]; then \
cd $(THIRD_PARTY_DIR) && \