Browse Source

Remove redundant copy of echo.proto from Plugins directory.

Tim Burks 9 years ago
parent
commit
412da550bb
2 changed files with 1 additions and 42 deletions
  1. 1 1
      Plugin/Makefile
  2. 0 41
      Plugin/echo.proto

+ 1 - 1
Plugin/Makefile

@@ -8,7 +8,7 @@ build:
 
 
 test:	build
-	protoc echo.proto --swiftgrpc_out=.
+	protoc ../Examples/Echo/echo.proto --proto_path=../Examples/Echo --swiftgrpc_out=. 
 	diff echo.client.pb.swift ../Examples/Echo/Swift/Generated/echo.client.pb.swift
 	diff echo.server.pb.swift ../Examples/Echo/Swift/Generated/echo.server.pb.swift
 

+ 0 - 41
Plugin/echo.proto

@@ -1,41 +0,0 @@
-// Copyright (c) 2015, Google Inc.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-syntax = "proto3";
-
-package echo;
-
-service Echo {
-  // Immediately returns an echo of a request.
-  rpc Get(EchoRequest) returns (EchoResponse) {}
-  
-  // Splits a request into words and returns each word in a stream of messages.
-  rpc Expand(EchoRequest) returns (stream EchoResponse) {}  
-  
-  // Collects a stream of messages and returns them concatenated when the caller closes.
-  rpc Collect(stream EchoRequest) returns (EchoResponse) {}
-  
-  // Streams back messages as they are received in an input stream.
-  rpc Update(stream EchoRequest) returns (stream EchoResponse) {}
-}
-
-message EchoRequest {
-  // The text of a message to be echoed.
-  string text = 1;
-}
-
-message EchoResponse {
-  // The text of an echo response.
-  string text = 1;
-}