<commit_before>/*
 * grunt-eb-deploy
 * https://github.com/jjongsma/grunt-eb-deploy
 *
 * Copyright (c) 2015 <NAME>
 * Licensed under the MIT license.
 */

'use strict';

var AWS = require('aws-sdk');
var git = require('git-rev');
var fs = require('fs');

module.exports = function(grunt) {

  // Please see the Grunt documentation for more information regarding task
  // creation: http://gruntjs.com/creating-tasks

  grunt.registerMultiTask('eb_deploy', 'ElasticBeanstalk deployment', function() {

    // Merge task-specific and/or target-specific options with these defaults.
    var options = this.options({
      archive: '.tmp/dist.zip'
    });

    var done = this.async();
<commit_msg>Allow using local profiles<commit_after>/*
 * grunt-eb-deploy
 * https://github.com/jjongsma/grunt-eb-deploy
 *
 * Copyright (c) 2015 <NAME>
 * Licensed under the MIT license.
 */

'use strict';

var AWS = require('aws-sdk');
var git = require('git-rev');
var fs = require('fs');

module.exports = function(grunt) {

  // Please see the Grunt documentation for more information regarding task
  // creation: http://gruntjs.com/creating-tasks

  grunt.registerMultiTask('eb_deploy', 'ElasticBeanstalk deployment', function() {

    // Merge task-specific and/or target-specific options with these defaults.
    var options = this.options({
      archive: '.tmp/dist.zip'
    });

    if (options.profile) {
      process.env.AWS_PROFILE = options.profile;
    }

    var done = this.async();

{'fraction_non_alphanumeric': 0.1426648721399731, 'fraction_numerical': 0.005383580080753701, 'mean_word_length': 3.4520958083832336, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '1831090', 'n_tokens_mistral': 477, 'n_tokens_neox': 451, 'n_words': 121}