You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off I would just like to say thank you to all the contributors of scalapb for the fine work that has been done on this project. 🙇
While working on some integration tests, I needed to create some protos that were only going to be used for testing. To my surprise, it appears that Compile / PB.targets needs to be defined in order for Test / PB.targets to evaluate. (The sources under test have no protos themselves)
I have created a branch that adds two examples under examples/* to reproduce the issue (examples/testOnly and examples/testPlusCompile).
The testPlusCompile example build.sbt looks like the following and builds correctly:
First off I would just like to say thank you to all the contributors of scalapb for the fine work that has been done on this project. 🙇
While working on some integration tests, I needed to create some protos that were only going to be used for testing. To my surprise, it appears that
Compile / PB.targets
needs to be defined in order forTest / PB.targets
to evaluate. (The sources under test have no protos themselves)I have created a branch that adds two examples under
examples/*
to reproduce the issue (examples/testOnly
andexamples/testPlusCompile
).The
testPlusCompile
example build.sbt looks like the following and builds correctly:I would expect that a user would be able to do the following in order to generate protos that are only used for testing:
Please let me know if I can provide any additional information and I would be happy to help.
The text was updated successfully, but these errors were encountered: