.PHONY: build build-windows test test-integration lint

GO = /snap/go/current/bin/go

build:
	$(GO) build -o bin/llama-sidecar ./cmd/llama-sidecar

build-windows:
	GOOS=windows GOARCH=amd64 $(GO) build -o bin/llama-sidecar.exe ./cmd/llama-sidecar

test:
	$(GO) test ./internal/...

test-integration:
	$(GO) test -tags=integration ./internal/...

lint:
	$(GO) vet ./...
	gofmt -l .
