Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xuwei-k/unused-proto

find unused proto messages, methods and enums in your sbt project
https://github.com/xuwei-k/unused-proto

protobuf protocol-buffers sbt sbt-plugin scala

Last synced: 19 days ago
JSON representation

find unused proto messages, methods and enums in your sbt project

Awesome Lists containing this project

README

        

# unused proto

find unused proto message, enum and rpc in your sbt project.

## `project/plugins.sbt`

```scala
addSbtPlugin("com.github.xuwei-k" % "unused-proto-plugin" % "latest version")
```

## `build.sbt`

use `++=` or `+=` instead of `:=`.

```diff
- Compile / PB.targets := Seq(
+ Compile / PB.targets ++= Seq[protocbridge.Target](
```

## sbt shell

```
> unusedProtoWarn
```