Command-line Options

The JS++ compiler provides command-line switches to control the compiler and its output. Command-line options are case-sensitive.

Switch Parameters Description
-d or --debug Compile in debug mode. Source map files will be generated by appending ".map" to the name of the output file. Thus, an output file of example.jspp.js will produce a source map debugging file of example.jspp.js.map
-o or --output path/to/compile/to.js The full file path (including filename) for the compiled output file. Both relative and absolute paths are supported.
-e or --execute Compile and execute the input file.

Share

HTML | BBCode | Direct Link