BuildBot waterfall with cordova-mobile-spec running on real Android and iOS devices.
Contains npm modules used primarily by cordova and plugman.
- Clone this repository onto your local machine.
git clone https://git-wip-us.apache.org/repos/asf/cordova-lib.git - In terminal, navigate to the cordova-lib directory.
cd cordova-lib - Install dependencies and npm-link
npm install && npm link - Navigate to CLI and Plugman directories and link cordova-lib
cd ../cordova-cli && npm link cordova-lib && npm installcd ../cordova-plugman && npm link cordova-lib && npm install
This package exposes the following commands;
-
npm run jshint- runs jshint check against all js files -
npm run jasmine- runs jasmine tests from spec-plugman and spec-cordova directories -
npm run cover- runs istanbul code coverage tool to measure tests coverage -
npm test- shortcut fornpm run jshint && npm run jasmine
