converge/Makefile
Erik Brakkee 3059a16559 table testing with go routines only really works well when standard
assertions are ued. With suite.Required() there are issues in getting
the test results correct.

Instead, use standard assertions and use suite.T().Failed() to do
early returns.
2024-09-08 11:16:49 +02:00

37 lines
429 B
Makefile

.DEFAULT_GOAL := all
# seems superfluous
#.PHONY: fmt vet build clean
fmt:
go fmt ./...
generate:
templ generate
vet: fmt
go vet ./...
test: build
go test -count=1 -v ./...
build: generate vet
mkdir -p bin
go build -o bin ./cmd/...
buildwin:
mkdir -p bin
GOOS=windows GOARCH=amd64 go build -o bin ./cmd/...
clean:
rm -rf bin
all: build buildwin
image:
docker compose build
push: image
docker compose push