Commit 46708baa authored by lemon's avatar lemon Committed by 吴晟 Wu Sheng

Create generate_protos_linux.sh and appveyor.yml (#5)

* Update README.md

* Add generate_protos_linux.sh
parent a0372ee9
# Contributing to skywalking-csharp
\ No newline at end of file
...@@ -12,6 +12,9 @@ Apache SkyWalking is an APM designed for microservices, cloud native and contain ...@@ -12,6 +12,9 @@ Apache SkyWalking is an APM designed for microservices, cloud native and contain
# Status # Status
[@lemon](https://github.com/liuhaoyang) is working with Apache SkyWalking official PMC team for our first release. Welcome anyone to join us. [@lemon](https://github.com/liuhaoyang) is working with Apache SkyWalking official PMC team for our first release. Welcome anyone to join us.
# Contributing Guide
This section is in progress here: [Contributing to skywalking-csharp](/CONTIBUTING.md)
# Roadmap # Roadmap
Expect to release 0.1 compatible with SkyWalking 5.0.0-alpha in May. 2018 Expect to release 0.1 compatible with SkyWalking 5.0.0-alpha in May. 2018
......
version: 0.1.0-alpha-{build}
image: Visual Studio 2017
configuration: Release
skip_commits:
files:
- CONTIBUTING.md
- LICENSE
- README.md
- generate_protos.bat
- generate_protos_macos.sh
- generate_protos_linux.sh
- .gitignore
branches:
only:
- master
skip_tags: true
dotnet_csproj:
patch: true
file: src\**\*.csproj
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
before_build:
- cmd: dotnet restore
build_script:
- cmd: dotnet build -c Release
\ No newline at end of file
#!/usr/bin/env bash
dotnet restore
PROTOC=~/.nuget/packages/google.protobuf.tools/3.5.1/tools/linux_x64/protoc
PLUGIN=~/.nuget/packages/grpc.tools/1.9.0/tools/linux_x64/grpc_csharp_plugin
$PROTOC -I protos --csharp_out src/SkyWalking.NetworkProtocol protos/ApplicationRegisterService.proto --grpc_out src/SkyWalking.NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.NetworkProtocol protos/Common.proto --grpc_out src/SkyWalking.NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.NetworkProtocol protos/DiscoveryService.proto --grpc_out src/SkyWalking.NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.NetworkProtocol protos/Downstream.proto --grpc_out src/SkyWalking.NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.NetworkProtocol protos/JVMMetricsService.proto --grpc_out src/SkyWalking.NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.NetworkProtocol protos/KeyWithIntegerValue.proto --grpc_out src/SkyWalking.NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.NetworkProtocol protos/KeyWithStringValue.proto --grpc_out src/SkyWalking.NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.NetworkProtocol protos/NetworkAddressRegisterService.proto --grpc_out src/SkyWalking.NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.NetworkProtocol protos/TraceSegmentService.proto --grpc_out src/SkyWalking.NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment