<commit_before>roslibjs build setup
====================

[Grunt](http://gruntjs.com/) is used for building, including concatenating,
minimizing, documenting, linting, and testing.

### Install Grunt and its dependencies

#### Ubuntu

 1. Install Node.js and its package manager, NPM
   * `sudo apt-get install python-software-properties`
   * `sudo add-apt-repository ppa:chris-lea/node.js`
   * `sudo apt-get install nodejs`
 2. Install Grunt and the test runner [Karma](http://karma-runner.github.io/)
   * `sudo npm install -g grunt-cli karma`
 3. Install the Grunt tasks specific to this project
   * `cd /path/to/roslibjs/utils/`
   * `npm install .`
 4. (Optional) To generate the documentation, you'll need Java and JSDoc. Documentation generation is not required for patches.
   * `sudo apt-get install jsdoc-toolkit`

#### OS X

 1. Install Node.js and its package manager, NPM
   * Go to [Node.js Downloads](http://nodejs.org/download/)
   * Download and install the Universal pkg file.
 2. Install Grunt and the test runner [Karma](http://karma-runner.github.io/)
   * `sudo npm install -g grunt-cli karma`
 3. Install the Grunt tasks specific to this project<commit_msg>OCD changes<commit_after>roslibjs Build Setup
====================

[Grunt](http://gruntjs.com/) is used for building, including concatenating,
minimizing, documenting, linting, and testing.

### Install Grunt and its Dependencies

#### Ubuntu

 1. Install Node.js and its package manager, NPM
   * `sudo apt-get install python-software-properties`
   * `sudo add-apt-repository ppa:chris-lea/node.js`
   * `sudo apt-get install nodejs`
 2. Install Grunt and the test runner [Karma](http://karma-runner.github.io/)
   * `sudo npm install -g grunt-cli karma`
   * `sudo rm -rf ~/.npm ~/tmp`
 3. Install the Grunt tasks specific to this project
   * `cd /path/to/roslibjs/utils/`
   * `npm install .`
 4. (Optional) To generate the documentation, you'll need Java and JSDoc. Documentation generation is not required for patches.
   * `sudo apt-get install jsdoc-toolkit`

#### OS X

 1. Install Node.js and its package manager, NPM
   * Go to [Node.js Downloads](http://nodejs.org/download/)
   * Download and install the Universal pkg file.
 2. Install Grunt and the test runner [Karma](http://karma-runner.github.io/)
   * `sudo npm install -g grunt-cli karma`
 3. Install the Grunt tasks specific to this project
{'fraction_non_alphanumeric': 0.12729549248747912, 'fraction_numerical': 0.005843071786310518, 'mean_word_length': 3.727810650887574, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5955550', 'n_tokens_mistral': 794, 'n_tokens_neox': 728, 'n_words': 271}