2023-03-25 14:07:47 +00:00
|
|
|
SHELL := bash
|
|
|
|
.ONESHELL:
|
|
|
|
.SHELLFLAGS := -eu -o pipefail -c
|
|
|
|
.DELETE_ON_ERROR:
|
|
|
|
MAKEFLAGS += --warn-undefined-variables
|
|
|
|
MAKEFLAGS += --no-builtin-rules
|
|
|
|
|
|
|
|
ifeq ($(origin .RECIPEPREFIX), undefined)
|
|
|
|
$(error This Make does not support .RECIPEPREFIX. Please use GNU Make 4.0 or later)
|
|
|
|
endif
|
|
|
|
.RECIPEPREFIX = >
|
|
|
|
|
|
|
|
.PHONY: build
|
2023-03-25 18:10:22 +00:00
|
|
|
build:
|
|
|
|
> cargo build
|
2023-03-25 14:07:47 +00:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
> cargo clean
|
|
|
|
|
2023-03-25 18:10:22 +00:00
|
|
|
.PHONY: test
|
|
|
|
test:
|
|
|
|
> cargo test
|
|
|
|
|
|
|
|
.PHONY: run
|
|
|
|
run:
|
|
|
|
> cargo run
|
2023-03-25 14:07:47 +00:00
|
|
|
|
|
|
|
.PHONY: jaeger
|
|
|
|
jaeger:
|
|
|
|
> docker run -d --rm -p 6831:6831/udp -p 6832:6832/udp -p 16686:16686 -p 14268:14268 jaegertracing/all-in-one:latest
|