<commit_before>module.exports = function(grunt) {

  grunt.initConfig({
    nodewebkit: {
      options: {

        version: 'v0.12.0',
        files: './app/*',
        downloadUrl: 'http://dl.nwjs.io/',
        macIcns: './render/icon.icns',
        mac: function(a){ return {mac: "nwjs-v0.12.0-osx-x64.zip"} },
        macPlist: {mac_bundle_id: 'messenger.app.com'},
        embed_nw: false,
        keep_nw: true,
        platforms: ['osx', 'win']
      },
      src: './app/**/*' // Your node-webkit app
    },
  });

  grunt.loadNpmTasks('grunt-node-webkit-builder');
  grunt.registerTask('default', ['nodewebkit']);

};<commit_msg>Make grunt build only for your platform<commit_after>var os = require('os');

module.exports = function(grunt) {

  var isWindows = os.platform().indexOf('win') !== -1;
  var platform = isWindows ? 'win' : 'osx';

  grunt.initConfig({
    nodewebkit: {
      options: {
        version: 'v0.12.0',
        files: './app/*',
        downloadUrl: 'http://dl.nwjs.io/',
        macIcns: './render/icon.icns',
        mac: function(a){ return {mac: "nwjs-v0.12.0-osx-x64.zip"} },
        macPlist: {mac_bundle_id: 'messenger.app.com'},
        embed_nw: false,
        keep_nw: true,
        platforms: [platform],
      },
      src: './app/**/*' // Your node-webkit app
    },
  });

  grunt.loadNpmTasks('grunt-node-webkit-builder');
  grunt.registerTask('default', ['nodewebkit']);

};
{'fraction_non_alphanumeric': 0.19536191145467321, 'fraction_numerical': 0.014757554462403373, 'mean_word_length': 2.4396135265700485, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2037308', 'n_tokens_mistral': 533, 'n_tokens_neox': 504, 'n_words': 89}