<commit_before>'use strict';
var util = require('util');
var path = require('path');
var yeoman = require('yeoman-generator');
var chalk = require('chalk');


var BuildpackGenerator = yeoman.generators.Base.extend({
  init: function () {
  },

  askFor: function () {
    var done = this.async();

    // try to guess name
    this.projectname = path.basename(process.cwd());<commit_msg>make scripts executable<commit_after>'use strict';
var util = require('util');
var path = require('path');
var yeoman = require('yeoman-generator');
var chalk = require('chalk');
var fs = require('fs');


var BuildpackGenerator = yeoman.generators.Base.extend({
  init: function () {
    this.on('end', function () {
      // temporary fix until https://github.com/SBoudrias/file-utils/issues/5 is fixed in yeoman
      fs.chmodSync(path.join(this.destinationRoot(), 'bin/compile'), '755');
      fs.chmodSync(path.join(this.destinationRoot(), 'bin/detect'), '755');
      fs.chmodSync(path.join(this.destinationRoot(), 'bin/release'), '755');
      fs.chmodSync(path.join(this.destinationRoot(), 'bin/test'), '755');
      fs.chmodSync(path.join(this.destinationRoot(), 'bin/utils'), '755');
    });
  },

  askFor: function () {
    var done = this.async();

    // try to guess name
    this.projectname = path.basename(process.cwd());
{'fraction_non_alphanumeric': 0.18037735849056605, 'fraction_numerical': 0.012075471698113207, 'mean_word_length': 4.11969111969112, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '5121291', 'n_tokens_mistral': 429, 'n_tokens_neox': 409, 'n_words': 89}