Skip to content

Commit

Permalink
Add rake task to generate gRPC codes
Browse files Browse the repository at this point in the history
  • Loading branch information
eagletmt committed Aug 30, 2016
1 parent 84e041d commit e7459a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Rakefile
Expand Up @@ -4,3 +4,9 @@ task :default => :spec

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

desc 'Generate gRPC codes'
task :grpc do
cd 'lib'
sh 'protoc --ruby_out=. --plugin=protoc-gen-grpc=`which grpc_ruby_plugin` --grpc_out=. kaede/grpc/kaede.proto'
end

0 comments on commit e7459a4

Please sign in to comment.