Open rasberik opened 1 month ago
@AttilaTheFun @brentleyjones Apologies for direct tags, can I get any thoughts whether this behavior recognized as intended or an issue? Currently can be resolved by adding wrapper workarounds but would be much nicer to have ability to add additional srcs files.
@rasberik Hmm this is an interesting question.
I never thought about the use case of injecting additional source files into the library but I don't think it would be too hard to support.
I think we'd just need to append the srcs attribute to the list of generated srcs passed to swift_common.compile
I'm not a maintainer of rules_swift so I can't approve the PR but @brentleyjones or @luispadron might be able to review it.
Description
Despite intention of new
swift_proto_library
to behave like regularswift_library
by inheriting its attributes, doesn't allow to add additionalsrcs
.Example