Command line interface

This commit is contained in:
Svyatoslav Kuzmich
2019-04-18 14:37:25 +03:00
parent 89500d776d
commit bb3b9a935f
7 changed files with 431 additions and 2 deletions
+2
View File
@@ -2,6 +2,8 @@ Usage: kotlinc-js <options> <source files>
where advanced options include:
-Xfriend-modules=<path> Paths to friend modules
-Xfriend-modules-disabled Disable internal declaration export
-Xir Use IR backend
-Xir-produce-only={ klib, js } Type of output to produce. Overrides -meta-info argument.
-Xtyped-arrays Translate primitive arrays to JS typed arrays
-Xallow-kotlin-package Allow compiling code in package 'kotlin' and allow not requiring kotlin.stdlib in module-info
-Xallow-result-return-type Allow compiling code when `kotlin.Result` is used as a return type