The reflector and probe node read .env next to the binary and from the working directory. Command-line flags still override environment variables, which override the file. Missing .env files are ignored, and the packaged defaults stay TCP 19090 and UDP 19091. Co-authored-by: yanjiu0721 <yanjiu0721@users.noreply.github.com>
12 lines
139 B
Makefile
12 lines
139 B
Makefile
.PHONY: build run test
|
|
|
|
build:
|
|
go build -o netquality-reflector .
|
|
|
|
run: build
|
|
./netquality-reflector
|
|
|
|
test:
|
|
go test ./...
|
|
go vet ./...
|