BuildTools: added tests for ant task Kotlin2JsCompilerTask.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
OUT Buildfile: [TestData]/build.xml
|
||||
OUT
|
||||
OUT build:
|
||||
ERR
|
||||
ERR BUILD FAILED
|
||||
ERR [TestData]/build.xml:5: "output" should be specified
|
||||
ERR
|
||||
ERR Total time: [time]
|
||||
Return code: 1
|
||||
@@ -0,0 +1,7 @@
|
||||
<project name="Ant Task Test" default="build">
|
||||
<taskdef resource="org/jetbrains/jet/buildtools/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1"/>
|
||||
</target>
|
||||
</project>
|
||||
Reference in New Issue
Block a user