![](/img/trans.png)
[英]How to iterate all mill targets in build.sc, how to get target.dest from outside the target?
我想編寫一個mill實用工具(可能是build.sc中的函數或模塊),用於匯總和后處理各種目標的結果。 與其對所有已處理的目標進行硬編碼,我更喜歡一種能夠以某種方式迭代build.sc內容並生成找到的目標列表的解決方案,然后我可以從中過濾掉除ScalaModule的其他目標等。 實現這種迭代器的最 ...