Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/xuwei-k/unused-proto
- Owner: xuwei-k
- License: mit
- Created: 2023-02-08T02:31:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-16T21:29:12.000Z (22 days ago)
- Last Synced: 2024-10-18T21:19:42.477Z (20 days ago)
- Topics: protobuf, protocol-buffers, sbt, sbt-plugin, scala
- Language: Scala
- Homepage:
- Size: 110 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Codeowners: .github/CODEOWNERS
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
```