<commit_before># gulp-cordova-build-bb10

> Build the cordova project for the BlackBerry 10 platform.

## Installation

```bash
npm install --save-dev gulp-crodva-build-bb10
```

## Usage

```JavaScript
var gulp = require('gulp'),
    create = require('gulp-cordova-create'),
    plugin = require('gulp-cordova-plugin'),
    bb10 = require('gulp-cordova-build-bb10');

gulp.task('build', function() {
    return gulp.src('www')
        .pipe(create())
        .pipe(plugin('org.apache.cordova.dialogs'))
        .pipe(plugin('org.apache.cordova.camera'))
        .pipe(bb10());
});
```

This plugin will build the cordova project for the BlackBerry 10 platform.

### Re-adding the BlackBerry 10 platform

The ```bb10()``` method accepts one optional parameter. If the parameter passed in is ```true```, it will first
remove the entire BlackBerry 10 platform and add it again.

```JavaScript
var gulp = require('gulp'),
    bb10 = require('gulp-cordova-build-bb10');

gulp.task('rebuild', function() {
    return gulp.src('.cordova')
        .pipe(bb10(true));
});
```

This task will simply remove the BlackBerry 10 platform, add it again and rebuild it.

```bash
$ cordova platform remove blackberry10
$ cordova platform add blackberry10
$ cordova build blackberry10
```

If no parameter is provided, it will only build the platform.

## Related

See [`gulp-cordova`](https://github.com/SamVerschueren/gulp-cordova) for the full list of available packages.

## Contributors

- <NAME> [<<EMAIL>>]

## License

MIT © <NAME>
<commit_msg>Added link to explanation of how to add the NDK to your path.<commit_after># gulp-cordova-build-bb10

> Build the cordova project for the BlackBerry 10 platform.

## Installation

```bash
npm install --save-dev gulp-crodva-build-bb10
```

## Usage

Make sure the location of the [NDK](http://cordova.apache.org/docs/en/5.0.0/guide_platforms_blackberry10_index.md.html#BlackBerry%2010%20Platform%20Guide) is added
to your path.

```JavaScript
var gulp = require('gulp'),
    create = require('gulp-cordova-create'),
    plugin = require('gulp-cordova-plugin'),
    bb10 = require('gulp-cordova-build-bb10');

gulp.task('build', function() {
    return gulp.src('www')
        .pipe(create())
        .pipe(plugin('org.apache.cordova.dialogs'))
        .pipe(plugin('org.apache.cordova.camera'))
        .pipe(bb10());
});
```

This plugin will build the cordova project for the BlackBerry 10 platform.

### Re-adding the BlackBerry 10 platform

The ```bb10()``` method accepts one optional parameter. If the parameter passed in is ```true```, it will first
remove the entire BlackBerry 10 platform and add it again.

```JavaScript
var gulp = require('gulp'),
    bb10 = require('gulp-cordova-build-bb10');

gulp.task('rebuild', function() {
    return gulp.src('.cordova')
        .pipe(bb10(true));
});
```

This task will simply remove the BlackBerry 10 platform, add it again and rebuild it.

```bash
$ cordova platform remove blackberry10
$ cordova platform add blackberry10
$ cordova build blackberry10
```

If no parameter is provided, it will only build the platform.

## Related

See [`gulp-cordova`](https://github.com/SamVerschueren/gulp-cordova) for the full list of available packages.

## Contributors

- <NAME> [<<EMAIL>>]

## License

MIT © <NAME>

{'fraction_non_alphanumeric': 0.1410373066424022, 'fraction_numerical': 0.02456778889899909, 'mean_word_length': 4.058282208588957, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6898847', 'n_tokens_mistral': 1130, 'n_tokens_neox': 1033, 'n_words': 316}