Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

run.txt 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Synopsis
  2. cordova-cli run [MODE] [BUILDOPTS] [TARGET] [PLATS] [BUILDCONFIG] [-- POPTS]
  3. MODE: --list|--debug|--release
  4. BUILDOPTS: --noprepare --nobuild
  5. TARGET: DEVICECLASS|--target=FOO
  6. PLATS: PLATFORM [...]
  7. BUILDCONFIG: --buildConfig=CONFIGFILE
  8. POPTS: platformopts
  9. DEVICECLASS: --device|--emulator
  10. Deploys app on specified platform devices / emulators
  11. --list ............................. Lists available targets
  12. Will display both device and emulator
  13. unless DEVICECLASS option is provided
  14. --debug ............................ Deploy a debug build
  15. --release .......................... Deploy a release build
  16. --noprepare ........................ Don't prepare
  17. --nobuild .......................... Don't build
  18. --device ........................... Deploy to a device
  19. --emulator ......................... Deploy to an emulator
  20. --target ........................... Deploy to a specific target
  21. --buildConfig....................... Use the specified build configuration
  22. instead of default build.json
  23. To provide platform specific options, you must include them after `--`.
  24. Technical details
  25. calls cordova prepare (unless --noprepare)
  26. calls PLATFORM run
  27. PLATFORM run calls PLATFORM build (unless --nobuild)
  28. Examples
  29. cordova-cli run android --release --buildConfig=..\myBuildConfig.json --target=myEmulator
  30. cordova-cli run android --nobuild
  31. cordova-cli run ios --device
  32. cordova-cli run ios --list