Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.

Sbt plugin to generate .proto files from freestyle-rpc service definitions

License

Notifications You must be signed in to change notification settings

frees-io/sbt-freestyle-protogen

Repository files navigation

Build Status codecov.io Latest version License Join the chat at https://gitter.im/47deg/freestyle GitHub Issues

sbt-frees-protogen

⚠️ Note: this project is deprecated and has been integrated into the frees-rpc codebase as sbt-frees-rpc-idlgen starting with version 0.12.0.

Sbt plugin to generate .proto files from freestyle-rpc service definitions.

It depends on frees-rpc.

Legacy Installation

Add the following line to project/plugins.sbt:

addSbtPlugin("io.frees" % "sbt-frees-protogen" % "0.0.14")

Legacy Usage

Running

sbt protoGen

will generate .proto files from src/main/scala into src/main/proto/. These directories can be changed using the protoGenSourceDir and protoGenTargetDir settings.

Copyright

Freestyle is designed and developed by 47 Degrees

Copyright (C) 2017 47 Degrees. http://47deg.com