mirror of
https://github.com/status-im/go-waku.git
synced 2025-01-10 22:06:18 +00:00
cfcfb52a58
This commit adds a public method that takes a url and returns a list of multiaddr. Once we better understand how to integrate it we can make it so that is passed as a config when initializing waku, this commit only provides the basic functionality.
22 lines
390 B
Makefile
22 lines
390 B
Makefile
.PHONY: all build lint test
|
|
|
|
all: build
|
|
|
|
deps: lint-install
|
|
|
|
build:
|
|
go build -o build/waku waku.go
|
|
|
|
vendor:
|
|
go mod tidy
|
|
|
|
lint-install:
|
|
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
|
|
bash -s -- -b $(shell go env GOPATH)/bin v1.41.1
|
|
|
|
lint:
|
|
@echo "lint"
|
|
@golangci-lint --exclude=SA1019 run ./... --deadline=5m
|
|
test:
|
|
go test -v -failfast ./...
|