progs/matcher/build.sc
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 05 Jul 2023 16:12:40 +0100
changeset 913 eef6a56c185a
parent 742 b5b5583a3a08
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
742
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     1
import mill._
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     2
import scalalib._
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     3
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     4
val baseDir = build.millSourcePath
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     5
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     6
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     7
object matcher extends ScalaModule {
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     8
  def scalaVersion = "2.13.2"
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     9
  def mainClass = Some("re1 all")
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    10
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    11
  //override def resources  = T.sources(baseDir)
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    12
  override def sources    = T.sources(baseDir / "re1.sc")
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    13
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    14
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    15
}