The Slice-to-JavaScript compiler, slice2js
, offers the following command-line options in addition to the standard options:
--stdout
Print generated code to standard output.
--depend-json
Print dependency information in JSON format to standard output by default, or to the file specified by the--depend-file
option. No code is generated when this option is specified. The output consists of the complete list of Slice files that the input Slice files depend on through direct or indirect inclusion.