最終更新:2018-04-15 (日) 03:40:29 (6d)  

cordova build はてなブックマークを見る
Top / cordova build

Synopsis

    cordova build [PROD] [TARGET] [PLATS] [BUILDCONFIG] [-- POPTS]

      PROD:   --debug|--release
      TARGET: --device|--emulator
      PLATS:  PLATFORM [...]
      BUILDCONFIG: --buildConfig=CONFIGFILE
      POPTS:  platformopts

Shortcut for `cordova prepare` + `cordova compile` for
all/the specified platforms.

    --debug ............................ debug build
    --release .......................... release build

    --device ........................... Build it for a device
    --emulator ......................... Build it for an emulator

    --buildConfig....................... Use the specified build configuration
                                         instead of default build.json

    --browserify ....................... Compile plugin JS at build time using
                                         browserify instead of runtime.

To provide platform specific options, you must include them after `--`.

Example
    cordova build android windows --debug --device
    cordova build android --release --buildConfig=..\myBuildConfig.json
    cordova build android --release -- --keystore="..\android.keystore" --storePassword=android --alias=mykey