【发布时间】:2021-12-14 00:09:30
【问题描述】:
我的模块外面有一些文件,我需要在我的类路径中进行测试。
列出所有可能性 (mill resolve tests._) 我认为扩展 resources 是要走的路。
我尝试了很多 - 这是我的最后一次尝试:
object test extends Tests {
override def resources =
new Sources({
super.resources.self.map(_ :+ (millSourcePath / up / 'data / 'global / 'bpmn))
},
super.resources.ctx
)
...
}
- 覆盖
resources是否可行? - 如何正确完成?
【问题讨论】: