summaryrefslogtreecommitdiff
path: root/main/test/resources/examples/foreign/project/inner/build.sc
blob: da103b9515fad62c8359825afd154a83e90d3626 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import mill._

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

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

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