Drop "-sourceFiles" in kotlinc-js
Use free arguments instead, as is done in kotlinc-jvm and all sensible compilers everywhere Also fix some cases of AntTaskTest to be able to run them locally
This commit is contained in:
@@ -2,7 +2,6 @@ Usage: kotlinc-js <options> <source files>
|
||||
where possible options include:
|
||||
-output <path> Output file path
|
||||
-libraryFiles <path[,]> Path to zipped library sources or kotlin files separated by commas
|
||||
-sourceFiles <path[,]> Source files or directories separated by commas
|
||||
-sourcemap Generate SourceMap
|
||||
-target <version> Generate JS files for specific ECMA version (only ECMA 5 is supported)
|
||||
-main {call,noCall} Whether a main function should be called; default 'call' (main function will be auto detected)
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
-sourceFiles
|
||||
$TESTDATA_DIR$/simple2js.kt
|
||||
-output
|
||||
$TEMP_DIR$/out.js
|
||||
-outputPostfix
|
||||
not/existing/path
|
||||
not/existing/path
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
-sourceFiles
|
||||
$TESTDATA_DIR$/simple2js.kt
|
||||
-output
|
||||
$TEMP_DIR$/out.js
|
||||
-outputPrefix
|
||||
not/existing/path
|
||||
not/existing/path
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
-sourceFiles
|
||||
$TESTDATA_DIR$/simple2js.kt
|
||||
-output
|
||||
$TEMP_DIR$/out.js
|
||||
$TEMP_DIR$/out.js
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
-sourceFiles
|
||||
$TESTDATA_DIR$/../warnings.kt
|
||||
-suppress
|
||||
WaRnInGs
|
||||
-output
|
||||
$TEMP_DIR$/out.js
|
||||
$TEMP_DIR$/out.js
|
||||
|
||||
Reference in New Issue
Block a user