summaryrefslogtreecommitdiff
path: root/main/test/resources/examples/foreign/outer/build.sc
blob: b53cca700198a8c61010248afd67dbc8a755ada9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import $file.inner.build
import mill._
import ammonite.ops._

trait PathAware extends mill.Module {
  def selfPath = T { millSourcePath }
}

trait DestAware extends mill.Module {
  def selfDest = T { T.ctx().dest / up / up }
}

object sub extends PathAware with DestAware {
  object sub extends PathAware with DestAware
}