CB-12747: updated npm test for cordova-cli
1 file changed
tree: 7c122e26c4d161e24289cc7fb32f91db29e36d31
  1. .github/
  2. bin/
  3. doc/
  4. scripts/
  5. spec/
  6. src/
  7. .gitattributes
  8. .gitignore
  9. .jscs.json
  10. .jshintignore
  11. .npmignore
  12. .ratignore
  13. .travis.yml
  14. appveyor.yml
  15. CONTRIBUTING.md
  16. cordova.js
  17. LICENSE
  18. NOTICE
  19. package.json
  20. README.md
  21. RELEASENOTES.md
README.md

Build status Build Status

Cordova CLI

The command line tool to build, deploy and manage Cordova-based applications.

Apache Cordova allows for building native mobile applications using HTML, CSS and JavaScript. This tool helps with management of multi-platform Cordova applications as well as Cordova plugin integration.

Installation

In your command-line on Windows:

    c:\> npm install -g cordova

In your terminal on Mac OS X/Linux:

    $sudo npm install -g cordova

Creating a new Cordova project

This simple example demonstrates how Cordova CLI can be used to create a myApp project with the camera plugin and run it for android platform:

    cordova create myApp com.myCompany.myApp myApp
    cd myApp
    cordova plugin add cordova-plugin-camera --save
    cordova platform add android --save
    cordova requirements android    
    cordova build android --verbose
    cordova run android

Docs

Contributing

Cordova is an open source Apache project and contributors are needed to keep this project moving forward. Learn more on how to contribute on our website.

TO-DO + Issues

If you find issues with this tool, please follow our guidelines for reporting issues. We do not use github issue system as an Apache project, we have a JIRA issue management system which covers over 30+ cli, platform, plugin repos in the Cordova project. Use the “CLI” component for Cordova CLI issues. However, most of the functionality of Cordova CLI is implemented in cordova-lib npm module. You can also use “CordovaLib” component to file issues.