Files
orbit/Makefile

23 lines
411 B
Makefile

GO ?= go
.PHONY: fmt test vet build integration
fmt:
$(GO) fmt ./...
cd sdk/go && $(GO) fmt ./...
test:
$(GO) test -race ./...
cd sdk/go && $(GO) test -race ./...
vet:
$(GO) vet ./...
cd sdk/go && $(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
integration:
./scripts/test-mysql.sh