.PHONY: generate test test-short lint build

SQLC_VERSION := 1.27.0

generate:
	docker run --rm -v "$(CURDIR):/src" -w /src sqlc/sqlc:$(SQLC_VERSION) generate

test:
	go test -race ./...

test-short:
	go test -short -race ./...

lint:
	golangci-lint run ./...

build:
	go build -o bin/minstrel ./cmd/minstrel
