Support "-d" option in kotlinc-jvm
The intent is to unify "-output" and "-jar" options into the one "-d" (destination)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
$TESTDATA_DIR$/classpath.kt
|
||||
-output
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
$TESTDATA_DIR$/conflictingOverloads.kt
|
||||
-output
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$TESTDATA_DIR$/diagnosticsOrder1.kt
|
||||
$TESTDATA_DIR$/diagnosticsOrder2.kt
|
||||
-output
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
@@ -1 +1 @@
|
||||
-help
|
||||
-help
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
Usage: kotlinc-jvm <options> <source files>
|
||||
where possible options include:
|
||||
-d <directory|jar> Destination for generated class files
|
||||
-jar <path> Resulting .jar file path
|
||||
-output <path> Output directory path for .class files
|
||||
-classpath <path> Paths where to find user class files
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
-inline
|
||||
off
|
||||
-help
|
||||
-help
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
Usage: kotlinc-jvm <options> <source files>
|
||||
where possible options include:
|
||||
-d <directory|jar> Destination for generated class files
|
||||
-jar <path> Resulting .jar file path
|
||||
-output <path> Output directory path for .class files
|
||||
-classpath <path> Paths where to find user class files
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
-inline
|
||||
on
|
||||
-help
|
||||
-help
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
Usage: kotlinc-jvm <options> <source files>
|
||||
where possible options include:
|
||||
-d <directory|jar> Destination for generated class files
|
||||
-jar <path> Resulting .jar file path
|
||||
-output <path> Output directory path for .class files
|
||||
-classpath <path> Paths where to find user class files
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
-inline
|
||||
wrong
|
||||
wrong
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
Wrong value for inline option: 'wrong'. Should be 'on'/'off' or 'true'/'false'
|
||||
Usage: kotlinc-jvm <options> <source files>
|
||||
where possible options include:
|
||||
-d <directory|jar> Destination for generated class files
|
||||
-jar <path> Resulting .jar file path
|
||||
-output <path> Output directory path for .class files
|
||||
-classpath <path> Paths where to find user class files
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
$TESTDATA_DIR$/multipleTextRangesInDiagnosticsOrder.kt
|
||||
-output
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
@@ -3,5 +3,5 @@ $TESTDATA_DIR$/simple.kt
|
||||
not/existing/path
|
||||
-annotations
|
||||
yet/another/not/existing/path
|
||||
-output
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
not/existing/path
|
||||
-output
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
$TESTDATA_DIR$/signatureClash.kt
|
||||
-output
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
$TESTDATA_DIR$/simple.kt
|
||||
-output
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$TESTDATA_DIR$/../warnings.kt
|
||||
-suppress
|
||||
warnings
|
||||
-output
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$TESTDATA_DIR$/../warnings.kt
|
||||
-suppress
|
||||
WaRnInGs
|
||||
-output
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$TESTDATA_DIR$/wrongAbiVersion.kt
|
||||
-classpath
|
||||
$TESTDATA_DIR$/wrongAbiVersionLib
|
||||
-output
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
@@ -1 +1 @@
|
||||
-wrongArgument
|
||||
-wrongArgument
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
Invalid argument: -wrongArgument
|
||||
Usage: kotlinc-jvm <options> <source files>
|
||||
where possible options include:
|
||||
-d <directory|jar> Destination for generated class files
|
||||
-jar <path> Resulting .jar file path
|
||||
-output <path> Output directory path for .class files
|
||||
-classpath <path> Paths where to find user class files
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$TESTDATA_DIR$/wrongKotlinSignature.kt
|
||||
-classpath
|
||||
$TESTDATA_DIR$/wrongKotlinSignatureLib
|
||||
-output
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
Reference in New Issue
Block a user