-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathSBuild.scala
34 lines (26 loc) · 985 Bytes
/
SBuild.scala
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
import de.tototec.sbuild._
import de.tototec.sbuild.TargetRefs._
@version("0.4.0")
class SBuild(implicit _project: Project) {
val modules = Modules(
"de.tototec.sbuild",
"de.tototec.sbuild.runner",
"de.tototec.sbuild.ant",
"de.tototec.sbuild.addons",
"de.tototec.sbuild.scriptcompiler",
"de.tototec.sbuild.compilerplugin",
"de.tototec.sbuild.experimental",
"sbuild-dist"
)
Target("phony:clean") dependsOn modules.map(m => m("clean"))
Target("phony:all") dependsOn modules.map(m => m("all"))
Target("phony:test") dependsOn "de.tototec.sbuild::test" ~ "de.tototec.sbuild.runner::test"
Target("phony:scaladoc") dependsOn
"de.tototec.sbuild::scaladoc" ~
"de.tototec.sbuild.runner::scaladoc" ~
"de.tototec.sbuild.ant::scaladoc" ~
"de.tototec.sbuild.addons::scaladoc" ~
"de.tototec.sbuild.compilerplugin::scaladoc" ~
"de.tototec.sbuild.experimental::scaladoc"
Target("phony:dist") dependsOn "sbuild-dist::dist"
}