.PHONY: run test fmt build docker

run:
	DATA_DIR=./data APP_ADDR=:8080 go run ./cmd/pocketwatch

build:
	CGO_ENABLED=0 go build -trimpath -o pocketwatch ./cmd/pocketwatch

test:
	go test ./...

fmt:
	gofmt -w cmd internal

docker:
	docker compose up -d --build
