mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-19 22:23:11 +00:00
avoid using sudo for make
This commit is contained in:
parent
d838ad1492
commit
fe41e3a818
@ -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.
|
||||
|
||||
@ -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) && \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user