/
seypher
/
benchmark
Обзор
Документация
Войти
/
seypher
/
benchmark
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
spec-kit/Makefile
30 строк
579 B
dorshanskiy
first_commit
19 май 2026, 18:09
19 май 2026, 18:09
5d12ee6
Код
Авторство
О чём код?
BINARY = bin/server MODULE = urlshortener .PHONY: build run test test-integration lint migrate clean build: go build -o $(BINARY) ./cmd/server run: build ./$(BINARY) test: go test ./internal/... ./tests/contract/... test-integration: go test ./tests/integration/... -v lint: golangci-lint run ./... govulncheck ./... migrate: psql "$$DATABASE_URL" -f internal/store/migrations/001_create_short_links.sql clean: rm -rf bin/ coverage.out coverage.html coverage: go test ./internal/... -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html