K2JS: introduce "no-stdlb" parameter and use stdlib from compiler by default.

This commit is contained in:
Zalim Bashorov
2014-10-27 22:58:27 +03:00
parent e457eea438
commit adab0445de
29 changed files with 82 additions and 20 deletions
+1
View File
@@ -1,6 +1,7 @@
Usage: kotlinc-js <options> <source files>
where possible options include:
-output <path> Output file path
-no-stdlib Don't use bundled Kotlin stdlib
-library-files <path[,]> Path to zipped library sources or kotlin files separated by commas
-source-map Generate source map
-target <version> Generate JS files for specific ECMA version (only ECMA 5 is supported)
@@ -1,4 +1,5 @@
$TESTDATA_DIR$/simple2js.kt
-no-stdlib
-output
$TEMP_DIR$/out.js
-output-postfix
@@ -1,4 +1,5 @@
$TESTDATA_DIR$/simple2js.kt
-no-stdlib
-output
$TEMP_DIR$/out.js
-output-prefix
+1
View File
@@ -1,3 +1,4 @@
$TESTDATA_DIR$/simple2js.kt
-no-stdlib
-output
$TEMP_DIR$/out.js
@@ -1,4 +1,5 @@
$TESTDATA_DIR$/../warnings.kt
-no-stdlib
-nowarn
-output
$TEMP_DIR$/out.js