Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.16 KB

README.md

File metadata and controls

56 lines (34 loc) · 1.16 KB

sp-protobuf

앱과 서버에서 gRPC를 사용함에 따라 gRPC에서 이용하는 Protobuffer 파일들을 앱, 서버에서 서브모듈로 관리하기 위한 저장소

빌드 환경 설정

go get -u google.golang.org/grpc

go get -u github.com/golang/protobuf/protoc-gen-go

export PATH=$PATH:$GOPATH/bin
pub global activate protoc_plugin

export PATH=$PATH:$HOME/.pub-cache/bin
python -m pip install grpcio

혹은,

sudo python -m pip install grpcio

python -m pip install grpcio-tools

빌드 방법

  • 전체 Protobuf 빌드
make

Windows 는 Visual Studio 에 포함된 nmake 이용

  • 일부 Protobuf 빌드
make connection # Connection 전체 언어 빌드

make connection.go # Go
make connection.dart # Dart
make connection.py # Python