.PHONY: build test clean

build:
	go build -o bin/stats-gateway ./cmd/server
	go build -o bin/stats-collector ./cmd/collector
	go build -o bin/stats-snapshot ./cmd/snapshot
	go build -o bin/stats-issue-token ./cmd/issue-token
	CGO_ENABLED=0 go build -o bin/speedtest-sync ./cmd/speedtest-sync

test:
	go test ./...

clean:
	rm -rf bin/
