summaryrefslogtreecommitdiff
path: root/main/test/resources/examples/foreign/project/inner/build.sc
blob: 2d978292b51ed35b9d77a936e9db341b19415225 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}