diff --git a/Makefile b/Makefile index 4c521d4..1f1efe2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: help fees match web web-py web-debug web-go go-build go-test go-test-all go-parity go-run go-lint capture-fixtures image run sync sync-2026 test test-v docs +.PHONY: help fees match web web-py web-debug web-go go-build go-test go-test-all go-parity go-run go-sync-debug go-lint capture-fixtures image run sync sync-2026 test test-v docs export PYTHONPATH := scripts:$(PYTHONPATH) VENV := .venv @@ -27,6 +27,7 @@ help: @echo " make go-parity - Run Go parity tests (requires -tags=parity fixture corpus)" @echo " make go-test-all - Run both unit and parity tests" @echo " make go-lint - Run golangci-lint on Go code" + @echo " make go-sync-debug [DAYS=N] - Dry-run Go sync with Fio debug logs and txn table (default DAYS=30)" @echo " make capture-fixtures - Regenerate parity fixture corpus from live Python" @echo " make image - Build Python OCI container image" @echo " make run - Run the built Python Docker image locally" @@ -91,6 +92,10 @@ capture-fixtures: $(PYTHON) go-run: go-build ./$(GO_BIN) $(ARGS) +DAYS ?= 30 +go-sync-debug: go-build + LOG_LEVEL=DEBUG ./$(GO_BIN) sync -dry-run -print-fio-table -days $(DAYS) + go-lint: cd $(GO_SRC) && golangci-lint run ./...