GO ?= go .PHONY: fmt test vet build image integration console-e2e mysql-replication mysql-compatibility sdk-check protocol-check docs-check schedule-backlog release-manifest release-local-check fmt: $(GO) fmt ./... cd sdk/go && $(GO) fmt ./... cd examples/result-inbox && GOWORK=off $(GO) fmt ./... cd examples/task-outbox && GOWORK=off $(GO) fmt ./... test: $(GO) test -race ./... cd sdk/go && $(GO) test -race ./... cd examples/result-inbox && GOWORK=off $(GO) test -race ./... cd examples/task-outbox && GOWORK=off $(GO) test -race ./... vet: $(GO) vet ./... cd sdk/go && $(GO) vet ./... cd examples/result-inbox && GOWORK=off $(GO) vet ./... cd examples/task-outbox && GOWORK=off $(GO) vet ./... build: $(GO) build -o bin/orbit ./cmd/orbit $(GO) build -o bin/orbit-migrate ./cmd/orbit-migrate $(GO) build -o bin/orbit-admin ./cmd/orbit-admin cd examples/result-inbox && GOWORK=off $(GO) build -o ../../bin/orbit-inbox-example ./cmd/receiver cd examples/task-outbox && GOWORK=off $(GO) build -o ../../bin/orbit-outbox-example ./cmd/sender image: docker build --tag $${ORBIT_IMAGE:-orbit:dev} . integration: ./scripts/test-mysql.sh console-e2e: ./scripts/test-console-e2e.sh mysql-replication: ./scripts/test-mysql-replication.sh mysql-compatibility: ./scripts/test-historical-sdk-compatibility.sh sdk-check: ./scripts/test-sdk-isolation.sh protocol-check: ./scripts/test-protocol-compatibility.sh docs-check: ./scripts/check-doc-links.sh release-manifest: $(GO) run ./cmd/orbit-admin release manifest release-local-check: ./scripts/check-release-local.sh # Runs the bounded, intentionally incomplete persistent backlog rehearsal in an isolated MySQL. schedule-backlog: ./scripts/test-schedule-backlog.sh