PACKAGES = `go list ./... | grep -v /vendor/`

.PHONY: build build-authtoken dev lint test

build:
	go build -o build/server cmd/api/main.go

dev:
	go run cmd/api/main.go

lint:
	golangci-lint run

test:
	go test -cover -race -v $(PACKAGES)

build-authtoken:
	go build -o authtoken cmd/authtoken/main.go
