cordova compile <platform>
Compile project for platform(s)
Arguments
Name | Description |
---|
platform | Platform name(s) to build. If not specified, all platforms are built |
Options
Name | Description |
---|
-d, --verbose | Pipe out more verbose output to your shell. You can also subscribe to log and warn events if you are consuming cordova-cli as a node module by calling cordova.on('log', function() {}) or cordova.on('warn', function() {}) |
-v, --version | Print out the version of your cordova-cli install |
--no-update-notifier | Will disable updates check |
--nohooks | Suppress executing hooks (taking RegExp hook patterns as parameters) |
--no-telemetry | Disable telemetry collection for the current command |
--debug | Perform a debug build. This typically translates to debug mode for the underlying platform being built |
--release | Perform a release build. This typically translates to release mode for the underlying platform being built |
--device | Build it for a device |
--emulator | Build it for an emulator. In particular, the platform architecture might be different for a device vs. emulator |
--buildConfig <arg> | Use the specified build configuration file. build.json file is used to specify parameters to customize the app build process especially related to signing the package |