-
Notifications
You must be signed in to change notification settings - Fork 28
Add some comments to tests/WORKSPACE #278
Comments
Sounds like an interesting idea. Do you only refer to the tests/WORKSPACE file? I believe most of the valuable logic is in
It could be easy and also hard, it depends on how complex is the project. Is it good enough to be able to build a "hello world" project? |
Hello, Thank you for your reply. I mostly meant just the WORKSPACE file, yes. Parts of it I recognize based on the documentation I've read but not all steps are completely clear to me. So having a minimal, commented best-practice (perhaps with scalacheck, strict deps etc) template would be super useful. Some things which I don't fully understand right now:
As as aside, I would be happy to take a simple example and extend it or improve the docs for it as a way to contribute back. I can definitely cobble something basic together from my current understanding but when it comes to some of the questions above, I am afraid that as a fairly new bazelite I am a bit out of my depth. As a final question - it seems the APIs of this project are very similar to the aforementioned bazelbuild/rules_scala. Are these two projects related in some way? Thank you, Tom |
Hey Tom, I'll do my best to answer your specific questions though:
Regarding your final question, |
Thank you for the the thorough response. I have my own deadlines this week but let me see if I can put something together. Again, I appreciate you (both) taking the time. |
bazelbuild/rules_scala is plagued by a number of compatibility and functionality issues that are not fixable without a large rewrite. The used to be a comparison to bazelbuild/rules_scala but it was removed in #232 to be nicer. You can see the old version here (though some things are likely out-of-date). |
A quick follow up: Due some recent changes, this (nor Scala!) are on my radar anymore. I wanted to circle back and not let the issue in an unresolved state. I am happy to close it, unless you have a different preference? Thank you again for your thoughts/feedback above. |
Hi there,
I am looking at this project and it looks very interesting. Thank you for the effort. It also seems in many respects more complete than [Bazelbuild scala].
While trying to learn how to use the rules, I noticed the tests directory contains WORKSPACE and BUILD files, which also seem like very good places to get started given the lack of more complete user documentation.
Would you consider commenting them with short explanations as to what the individual steps are for? Something along the lines of "This is required for so-and-so", "This does Y because it's considered best practice" and "This does so-and-so but it's only here for the benefit of these tests"? It seems not all the functionality used has documentation yet.
Alternatively, could you add an example "best-practice" project with a similar level of comments, perhaps including two scala and JDK versions?
Thank you,
Tom
The text was updated successfully, but these errors were encountered: