alexatop/Makefile

23 lines
260 B
Makefile
Raw Permalink Normal View History

2024-06-02 21:31:12 +00:00
# Targets
.PHONY: all run test clean
all: run
example: *.go ./cmd/example/*.go
go build -o $@ ./cmd/example/main.go
run: example
./example
test:
go test -v ./...
clean:
rm -f example
docker:
docker build --progress plain .
lint:
golangci-lint run