alexatop/Makefile
2024-06-02 14:31:12 -07:00

23 lines
260 B
Makefile

# 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