Synopsis

ceylon compile-js [--cacherep=<url>] [--compact] [--cwd=<dir>] [--define=<key>=<value>...] [--encoding=<encoding>] [--lexical-scope-style] [--maven-overrides=<url>] [--no-comments] [--no-default-repositories] [--no-indent] [--no-module] [--offline] [--out=<url>] [--pass=<secret>] [--profile] [--rep=<url>...] [--skip-src-archive] [--source=<dirs>...] [--src=<dirs>...] [--sysrep=<url>] [--user=<name>] [--verbose[=<flags>]] [--] <moduleOrFile...>

Options

--cacherep=url

Specifies the folder to use for caching downloaded modules. (default: ~/.ceylon/cache)

--compact

Equivalent to --no-indent --no-comments

--cwd=dir

Specifies the current working directory for this tool. (default: the directory where the tool is run from)

--define=key>=<value, -D key>=<value

Set a system property

--encoding=encoding

Sets the encoding used for reading source files (default: platform-specific)

--lexical-scope-style

Create lexical scope-style JS code

--maven-overrides=url

Specifies the xml file to use to load Maven artifact overrides.

--no-comments

Do not generate any comments

--no-default-repositories

Indicates that the default repositories should not be used.

--no-indent

Do not indent code

--no-module

Do not wrap generated code as CommonJS module

--offline

Enables offline mode that will prevent connections to remote repositories.

--out=url

Specifies the output module repository (which must be publishable). (default: ./modules)

--pass=secret

Sets the password for use with an authenticated output repository(no default).

--profile

Time the compilation phases (results are printed to standard error)

--rep=url

Specifies a module repository containing dependencies. Can be specified multiple times. (default: modules, ~/.ceylon/repo, http://modules.ceylon-lang.org/repo/1)

--skip-src-archive

Do not generate .src archive - useful when doing joint compilation

--source=dirs

An alias for --src (default: ./source)

--src=dirs

Path to source files. Can be specified multiple times; you can also specify several paths separated by your operating system's PATH separator. (default: ./source)

--sysrep=url

Specifies the system repository containing essential modules. (default: $CEYLON_HOME/repo)

--user=name

Sets the user name for use with an authenticated output repository(no default).

--verbose[=flags]

Produce verbose output. If no flags are given then be verbose about everything, otherwise just be verbose about the flags which are present. Allowed flags include: all, loader.