Created by: mrkane27
This is a bit exploratory. Basically, I'm trying to figure out how to get a scala_library()
that comprises .scala
files generated automatically by a genrule()
.
My initial attempt was a genrule that generated a directory, but nothing really seemed to build when I passed off :mygenrule
as a source to the scala_library()
rule. I ended up slapping a zip_file()
on top of the genrule()
and then sending this PR. I reckon there's value in supporting zipped sources for Scala as well, but would like to know whether it's a reasonable thing to do for Buck.