SBuild 是基于 Scala 的构建系统,主要特点:
示例代码:
import de.tototec.sbuild._ import de.tototec.sbuild.ant.tasks._ @version("0.1.0") @classpath("http://repo1.maven.org/maven2/org/apache/ant/ant/1.8.3/ant-1.8.3.jar") class SBuild(implicit project: Project) { Target("echo") help "Say hello to the world" exec { AntEcho(message = "Hello World!") } }