This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git
The following commit(s) were added to refs/heads/master by this push:
new ffbb67e compiler-options: complete the TOC
ffbb67e is described below
commit ffbb67e3622b2097042b1cd742a08870d627dfd4
Author: Carlos Rovira <[email protected]>
AuthorDate: Fri Apr 10 16:16:19 2020 +0200
compiler-options: complete the TOC
---
compiler/compiler-options.md | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/compiler/compiler-options.md b/compiler/compiler-options.md
index 7b20487..2fe6081 100644
--- a/compiler/compiler-options.md
+++ b/compiler/compiler-options.md
@@ -28,7 +28,17 @@ List of Available Compiler Options
* [html-output-filename](compiler/compiler-options.html#html-output-filename)
* [html-template](compiler/compiler-options.html#html-template)
+* [js-compiler-option](compiler/compiler-options.html#js-compiler-option)
+*
[js-default-initializers](compiler/compiler-options.html#js-default-initializers)
* [js-define](compiler/compiler-options.html#js-define)
+* [js-load-config](compiler/compiler-options.html#js-load-config)
+* [js-output](compiler/compiler-options.html#js-output)
+* [remove-circulars](compiler/compiler-options.html#remove-circulars)
+* [source-map](compiler/compiler-options.html#source-map)
+* [targets](compiler/compiler-options.html#targets)
+* [warn-public-vars](compiler/compiler-options.html#warn-public-vars)
+* [show-binding-warnings](compiler/compiler-options.html#show-binding-warnings)
+
Royale provides these options for its compiler:
@@ -56,7 +66,7 @@ Specifies the path to an optional template for the the HTML
file generated by th
<htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
```
-### js-compiler-option
+### js-compiler-option {#js-compiler-option}
Specifies one or more custom compiler options to pass to the Google Closure
Compiler, which is used to create the release build of an Apache Royale
application.
@@ -70,7 +80,7 @@ Specifies one or more custom compiler options to pass to the
Google Closure Comp
<additionalCompilerOptions>-js-compiler-option=--variable_map_output_file
gccvars.txt;-js-compiler-option+=--property_map_output_file
gccprops.txt</additionalCompilerOptions>
```
-### js-default-initializers
+### js-default-initializers {#js-default-initializers}
Defaults to true. Enables or disables initialization of primitive (Number,
Boolean, etc.) variables with default values in the generated JavaScript.
Corresponds to AVM runtime implicit type intialization values.
@@ -121,7 +131,7 @@ private static var _buildNumber :String =
BUILD::buildNumber;
private static var _projectVersion :String = BUILD::buildVersion;
```
-### js-load-config
+### js-load-config {#js-load-config}
Specifies the locations of XML configuration files that define extra compiler
options for JavaScript output.
@@ -131,7 +141,7 @@ Specifies the locations of XML configuration files that
define extra compiler op
#### Maven configuration:
-### js-output
+### js-output {#js-output}
The path where the generated JavaScript output should be saved, if your are
also using it for the .swf output path.
@@ -143,7 +153,7 @@ The path where the generated JavaScript output should be
saved, if your are also
Use instead `outputDirectory`in `configuration` xml node
-### remove-circulars
+### remove-circulars {#remove-circulars}
Tells the Apache Royale compiler to remove circular dependencies in the
generated JavaScript, where possible.
@@ -157,7 +167,7 @@ Tells the Apache Royale compiler to remove circular
dependencies in the generate
<removeCirculars>true</removeCirculars>
```
-### source-map
+### source-map {#source-map}
Emits a source map in the debug build for each ActionScript file. The default
value is false.
@@ -171,7 +181,7 @@ Emits a source map in the debug build for each ActionScript
file. The default va
<additionalCompilerOptions>-source-map=true;</additionalCompilerOptions>
```
-### targets
+### targets {#targets}
Specifies the target format of the code generated by the Apache Royale
compiler. You can specify multiple targets.
@@ -193,7 +203,7 @@ The compiler supports the following values for "targets":
<targets>JSRoyale</targets>
```
-### warn-public-vars
+### warn-public-vars {#warn-public-vars}
Enables or disables warnings about using public variables.
@@ -207,7 +217,7 @@ Enables or disables warnings about using public variables.
<additionalCompilerOptions>-warn-public-vars=true;</additionalCompilerOptions>
```
-### show-binding-warnings
+### show-binding-warnings {#show-binding-warnings}
Set to false to remove all binding warnings.