mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-02-10 22:06:38 +00:00
* feat: automate adding new go-libp2p versions to perf * fix: put add-new-impl-versions.yml on schedule
13 lines
332 B
Makefile
13 lines
332 B
Makefile
GO_FILES := $(wildcard *.go)
|
|
|
|
all: perf
|
|
|
|
perf: $(GO_FILES)
|
|
docker run --rm --user "$(shell id -u):$(shell id -g)" -v "$(shell pwd)":/usr/src/myapp -w /usr/src/myapp -e GOCACHE=/usr/src/myapp/.cache golang:$(shell awk '/^go [0-9]+(\.[0-9]+)?$$/ {print $$2}' go.mod) go build -o perf .
|
|
|
|
clean:
|
|
rm perf
|
|
rm .cache
|
|
|
|
.PHONY: all clean
|