converge/Makefile
Erik Brakkee fc7977f7bb now using maps of Guid to Agent/Client in the state, working towards the definitive solution.
Using LinkedMap that preserves insertion order for the implementation and also added unit tests for that.
2024-09-08 11:16:49 +02:00

37 lines
415 B
Makefile

.DEFAULT_GOAL := all
# seems superfluous
#.PHONY: fmt vet build clean
fmt:
go fmt ./...
generate:
templ generate
vet: fmt
go vet ./...
test:
go test -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