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