Commit 76c24224 authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Update to v2 structure, external nakama-core protocol and runtime interfaces.

parent d900938d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ All dependencies required for a build are vendored as part of the Go project. Yo
```shell
git clone https://github.com/heroiclabs/nakama.git $GOPATH/src/github.com/heroiclabs/nakama
cd $GOPATH/src/github.com/heroiclabs/nakama
go build -i
go build -trimpath
```

### Full Source Builds
+126 −126

File changed.

Preview size limit exceeded, changes collapsed.

+2631 −45

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ package nakama.api;
import "google/api/annotations.proto";
import "google/protobuf/empty.proto";
import "protoc-gen-swagger/options/annotations.proto";
import "github.com/heroiclabs/nakama/api/api.proto";
import "github.com/heroiclabs/nakama-common/api/api.proto";

option go_package = "apigrpc";

+4 −4
Original line number Diff line number Diff line
@@ -35,8 +35,8 @@ fi

protoc_flags=(-I/usr/local/include -I../ -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway)

api_pbfile="../api/api.proto"
protoc "${protoc_flags[@]}" "--go_out=plugins=grpc:../" "${api_pbfile}" || exit 1
#api_pbfile="../api/api.proto"
#protoc "${protoc_flags[@]}" "--go_out=plugins=grpc:../" "${api_pbfile}" || exit 1

apigrpc_pbfile="../apigrpc/apigrpc.proto"
protoc "${protoc_flags[@]}" "--go_out=plugins=grpc:../" "${apigrpc_pbfile}" || exit 1
@@ -48,5 +48,5 @@ protoc "${protoc_flags[@]}" "--go_out=plugins=grpc:../" "${console_pbfile}" || e
protoc "${protoc_flags[@]}" "--grpc-gateway_out=logtostderr=true:../" "${console_pbfile}" || exit 1
protoc "${protoc_flags[@]}" "--swagger_out=logtostderr=true:../" "${console_pbfile}" || exit 1

rtapi_pbfile="../rtapi/realtime.proto"
protoc "${protoc_flags[@]}" "--go_out=plugins=grpc:../" "${rtapi_pbfile}" || exit 1
#rtapi_pbfile="../rtapi/realtime.proto"
#protoc "${protoc_flags[@]}" "--go_out=plugins=grpc:../" "${rtapi_pbfile}" || exit 1
Loading