.PHONY: build web test run docker build: web CGO_ENABLED=0 go build -trimpath -o playlink ./cmd/playlink web: cd web && npm ci && npm run build test: go vet ./... go test -race ./... cd web && npx tsc -b run: build PLAYLINK_DATA_DIR=./config PLAYLINK_ALLOWED_ROOTS=$(PWD)/testdata ./playlink docker: docker build -t playlink:latest .