mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-07 16:33:09 +00:00
avoid using sudo for make (#48)
This commit is contained in:
parent
d838ad1492
commit
b33e5b5431
@ -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.
|
||||
|
||||
@ -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) && \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user