[JS] Removing usage of legacy JS compiler #1
This commit is contained in:
committed by
Space Team
parent
662bff7351
commit
093f51c89a
+4
-2
@@ -1,5 +1,7 @@
|
||||
$TESTDATA_DIR$/simple2js.kt
|
||||
-kotlin-home
|
||||
non-existing-path
|
||||
-output
|
||||
$TEMP_DIR$/out.js
|
||||
-ir-output-dir
|
||||
$TEMP_DIR$
|
||||
-ir-output-name
|
||||
out
|
||||
|
||||
@@ -6,14 +6,12 @@
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path}" output="${temp.library.path}/jslib-example.js" metaInfo="true">
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}/jslib-example.meta.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
-1
@@ -13,7 +13,6 @@
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
Reference in New Issue
Block a user