docs: consolidate runnable examples and publish v0.1.1 guides
This commit is contained in:
4
Makefile
4
Makefile
@@ -4,6 +4,7 @@ GO ?= go
|
||||
fmt:
|
||||
$(GO) fmt ./...
|
||||
cd sdk/go && $(GO) fmt ./...
|
||||
cd examples && GOWORK=off $(GO) fmt ./...
|
||||
cd examples/result-inbox && GOWORK=off $(GO) fmt ./...
|
||||
cd examples/task-outbox && GOWORK=off $(GO) fmt ./...
|
||||
cd adapters/outbox/mysql && GOWORK=off $(GO) fmt ./...
|
||||
@@ -12,6 +13,7 @@ fmt:
|
||||
test:
|
||||
$(GO) test -race ./...
|
||||
cd sdk/go && $(GO) test -race ./...
|
||||
cd examples && GOWORK=off $(GO) test -race ./...
|
||||
cd examples/result-inbox && GOWORK=off $(GO) test -race ./...
|
||||
cd examples/task-outbox && GOWORK=off $(GO) test -race ./...
|
||||
cd adapters/outbox/mysql && GOWORK=off $(GO) test -race ./...
|
||||
@@ -20,12 +22,14 @@ test:
|
||||
vet:
|
||||
$(GO) vet ./...
|
||||
cd sdk/go && $(GO) vet ./...
|
||||
cd examples && GOWORK=off $(GO) vet ./...
|
||||
cd examples/result-inbox && GOWORK=off $(GO) vet ./...
|
||||
cd examples/task-outbox && GOWORK=off $(GO) vet ./...
|
||||
cd adapters/outbox/mysql && GOWORK=off $(GO) vet ./...
|
||||
cd examples/http-service && GOWORK=off $(GO) vet ./...
|
||||
|
||||
build:
|
||||
cd examples && GOWORK=off $(GO) build ./...
|
||||
cd adapters/outbox/mysql && GOWORK=off $(GO) build ./...
|
||||
cd examples/http-service && GOWORK=off $(GO) build -o ../../bin/orbit-http-example ./cmd/server
|
||||
$(GO) build -o bin/orbit ./cmd/orbit
|
||||
|
||||
Reference in New Issue
Block a user