-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.sc
62 lines (59 loc) · 1.76 KB
/
build.sc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import mill._
import mill.scalalib._
import mill.scalanativelib._
import mill.scalalib.publish._
import $ivy.`com.goyeau::mill-scalafix::0.4.0`
import com.goyeau.mill.scalafix.ScalafixModule
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.4.0`
import de.tobiasroeser.mill.vcs.version.VcsVersion
trait Common extends ScalaNativeModule {
def scalaVersion = "3.3.3"
def scalaNativeVersion = "0.5.4"
}
trait Publish extends PublishModule {
def pomSettings =
PomSettings(
description = "Scala Native GUI library based on libui",
organization = "com.github.lolgab",
url = "https://github.com/lolgab/scalaui",
licenses = Seq(License.MIT),
versionControl =
VersionControl.github(owner = "lolgab", repo = "scalaui"),
developers = Seq(
Developer("lolgab", "Lorenzo Gabriele", "https://github.com/lolgab")
)
)
def publishVersion = VcsVersion.vcsState().format()
}
object scalaui extends Common with Publish
object integration extends Module {
object tests extends Module {
object `border-panel` extends Common {
def moduleDeps = Seq(scalaui)
}
object `content-size` extends Common {
def moduleDeps = Seq(scalaui)
}
object `font` extends Common {
def moduleDeps = Seq(scalaui)
}
object `hello-world` extends Common {
def moduleDeps = Seq(scalaui)
}
object `multiple-windows` extends Common {
def moduleDeps = Seq(scalaui)
}
object `on-closing` extends Common {
def moduleDeps = Seq(scalaui)
}
object paint extends Common {
def moduleDeps = Seq(scalaui)
}
object complex extends Common {
def moduleDeps = Seq(scalaui)
}
object `write-on-screen` extends Common {
def moduleDeps = Seq(scalaui)
}
}
}