2026-04-09 01:38:06 -03:00
|
|
|
.PHONY: build test test-all quality-gate hygiene lint coverage-report coverage-gate fmt tidy install drill-list drill-run
|
2026-04-03 01:43:16 -03:00
|
|
|
|
|
|
|
|
build:
|
2026-04-07 13:13:58 -03:00
|
|
|
go build -o dist/ananke ./cmd/ananke
|
2026-04-03 01:43:16 -03:00
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
go test ./...
|
|
|
|
|
|
2026-04-09 01:38:06 -03:00
|
|
|
test-all: test hygiene lint coverage-report
|
|
|
|
|
|
|
|
|
|
quality-gate:
|
|
|
|
|
./scripts/quality_gate.sh
|
|
|
|
|
|
|
|
|
|
hygiene:
|
|
|
|
|
cd testing && go test ./hygiene
|
|
|
|
|
|
|
|
|
|
lint:
|
|
|
|
|
./scripts/lint.sh
|
|
|
|
|
|
|
|
|
|
coverage-report:
|
|
|
|
|
cd testing && go test ./coverage -run TestPerFileCoverageReport -count=1 -v
|
|
|
|
|
|
|
|
|
|
coverage-gate:
|
|
|
|
|
cd testing && ANANKE_ENFORCE_COVERAGE=1 ANANKE_PER_FILE_COVERAGE_TARGET=95 go test ./coverage -run TestPerFileCoverageReport -count=1 -v
|
|
|
|
|
|
2026-04-03 01:43:16 -03:00
|
|
|
fmt:
|
|
|
|
|
gofmt -w ./cmd ./internal
|
|
|
|
|
|
|
|
|
|
tidy:
|
|
|
|
|
go mod tidy
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
sudo ./scripts/install.sh
|
2026-04-04 05:50:38 -03:00
|
|
|
|
|
|
|
|
drill-list:
|
2026-04-07 13:13:58 -03:00
|
|
|
./scripts/ananke-drills.sh list
|
2026-04-04 05:50:38 -03:00
|
|
|
|
|
|
|
|
drill-run:
|
2026-04-07 13:13:58 -03:00
|
|
|
./scripts/ananke-drills.sh run $(DRILL) --execute
|