Update CLI test data and Gradle option descriptions
This commit is contained in:
Vendored
+14
-14
@@ -1,26 +1,26 @@
|
||||
Usage: kotlinc-js <options> <source files>
|
||||
where possible options include:
|
||||
-libraries <path> Paths to Kotlin libraries with .meta.js and .kjsm files, separated by system path separator
|
||||
-main {call,noCall} Whether a main function should be called
|
||||
-main {call|noCall} Define whether the `main` function should be called upon execution
|
||||
-meta-info Generate .meta.js and .kjsm files with metadata. Use to create a library
|
||||
-module-kind { plain, amd, commonjs, umd }
|
||||
Kind of a module generated by compiler
|
||||
-no-stdlib Don't use bundled Kotlin stdlib
|
||||
-output <path> Output file path
|
||||
-output-postfix <path> Path to file which will be added to the end of output file
|
||||
-output-prefix <path> Path to file which will be added to the beginning of output file
|
||||
-module-kind {plain|amd|commonjs|umd}
|
||||
Kind of the JS module generated by the compiler
|
||||
-no-stdlib Don't automatically include the default Kotlin/JS stdlib into compilation dependencies
|
||||
-output <filepath> Destination *.js file for the compilation result
|
||||
-output-postfix <path> Add the content of the specified file to the end of output file
|
||||
-output-prefix <path> Add the content of the specified file to the beginning of output file
|
||||
-source-map Generate source map
|
||||
-source-map-base-dirs <path> Base directories which are used to calculate relative paths to source files in source map
|
||||
-source-map-embed-sources { always, never, inlining }
|
||||
-source-map-base-dirs <path> Base directories for calculating relative paths to source files in source map
|
||||
-source-map-embed-sources {always|never|inlining}
|
||||
Embed source files into source map
|
||||
-source-map-prefix Prefix for paths in a source map
|
||||
-source-map-prefix Add the specified prefix to paths in the source map
|
||||
-target { v5 } Generate JS files for specific ECMA version
|
||||
-Werror Report an error if there are any warnings
|
||||
-api-version <version> Allow to use declarations only from the specified version of bundled libraries
|
||||
-api-version <version> Allow using declarations only from the specified version of bundled libraries
|
||||
-X Print a synopsis of advanced options
|
||||
-help (-h) Print a synopsis of standard options
|
||||
-kotlin-home <path> Path to Kotlin compiler home directory, used for runtime libraries discovery
|
||||
-language-version <version> Provide source compatibility with specified language version
|
||||
-kotlin-home <path> Path to the home directory of Kotlin compiler used for discovery of runtime libraries
|
||||
-language-version <version> Provide source compatibility with the specified version of Kotlin
|
||||
-P plugin:<pluginId>:<optionName>=<value>
|
||||
Pass an option to a plugin
|
||||
-progressive Enable progressive compiler mode.
|
||||
@@ -28,7 +28,7 @@ where possible options include:
|
||||
instead of going through a graceful migration cycle.
|
||||
Code written in the progressive mode is backward compatible; however, code written in
|
||||
non-progressive mode may cause compilation errors in the progressive mode.
|
||||
-script Evaluate the script file
|
||||
-script Evaluate the given Kotlin script (*.kts) file
|
||||
-nowarn Generate no warnings
|
||||
-verbose Enable verbose logging output
|
||||
-version Display compiler version
|
||||
|
||||
Vendored
+10
-10
@@ -1,23 +1,23 @@
|
||||
Usage: kotlinc-jvm <options> <source files>
|
||||
where possible options include:
|
||||
-classpath (-cp) <path> Paths where to find user class files
|
||||
-classpath (-cp) <path> List of directories and JAR/ZIP archives to search for user class files
|
||||
-d <directory|jar> Destination for generated class files
|
||||
-include-runtime Include Kotlin runtime into the resulting .jar
|
||||
-include-runtime Include Kotlin runtime into the resulting JAR
|
||||
-java-parameters Generate metadata for Java 1.8 reflection on method parameters
|
||||
-jdk-home <path> Path to JDK home directory to include into classpath, if differs from default JAVA_HOME
|
||||
-jdk-home <path> Include a custom JDK from the specified location into the classpath instead of the default JAVA_HOME
|
||||
-jvm-target <version> Target version of the generated JVM bytecode (1.6, 1.8, 9, 10, 11 or 12), default is 1.6
|
||||
-module-name <name> Name of the generated .kotlin_module file
|
||||
-no-jdk Don't include Java runtime into classpath
|
||||
-no-reflect Don't include kotlin-reflect.jar into classpath
|
||||
-no-stdlib Don't include kotlin-stdlib.jar or kotlin-reflect.jar into classpath
|
||||
-no-jdk Don't automatically include the Java runtime into the classpath
|
||||
-no-reflect Don't automatically include Kotlin reflection into the classpath
|
||||
-no-stdlib Don't automatically include the Kotlin/JVM stdlib and Kotlin reflection into the classpath
|
||||
-script-templates <fully qualified class name[,]>
|
||||
Script definition template classes
|
||||
-Werror Report an error if there are any warnings
|
||||
-api-version <version> Allow to use declarations only from the specified version of bundled libraries
|
||||
-api-version <version> Allow using declarations only from the specified version of bundled libraries
|
||||
-X Print a synopsis of advanced options
|
||||
-help (-h) Print a synopsis of standard options
|
||||
-kotlin-home <path> Path to Kotlin compiler home directory, used for runtime libraries discovery
|
||||
-language-version <version> Provide source compatibility with specified language version
|
||||
-kotlin-home <path> Path to the home directory of Kotlin compiler used for discovery of runtime libraries
|
||||
-language-version <version> Provide source compatibility with the specified version of Kotlin
|
||||
-P plugin:<pluginId>:<optionName>=<value>
|
||||
Pass an option to a plugin
|
||||
-progressive Enable progressive compiler mode.
|
||||
@@ -25,7 +25,7 @@ where possible options include:
|
||||
instead of going through a graceful migration cycle.
|
||||
Code written in the progressive mode is backward compatible; however, code written in
|
||||
non-progressive mode may cause compilation errors in the progressive mode.
|
||||
-script Evaluate the script file
|
||||
-script Evaluate the given Kotlin script (*.kts) file
|
||||
-nowarn Generate no warnings
|
||||
-verbose Enable verbose logging output
|
||||
-version Display compiler version
|
||||
|
||||
Reference in New Issue
Block a user