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


  // ------------------------------------------------------------------------------------------------------------------- Imports


  var fs = require('fs');


  // ------------------------------------------------------------------------------------------------------------------- Configuration


  grunt.initConfig({
    copy: {
      bootstrap: {
        cwd:    'node_modules/bootstrap/less',
        dest:   'dist/temp/bootstrap/',
        expand: true,
        src:    [ '**', '!bootstrap.less', '!variables.less' ]
      },
      bootstrapConfig: {
        cwd:    'config/bootstrap',
        dest:   'dist/temp/bootstrap/',
        expand: true,
        src:    '*.less'
      },
      css: {
        dest:   'dist/',
        src:    'assets/css/*.css'
      }
    },
    clean: {
      dist: [ 'dist/' ],
      temp: [ 'dist/temp/' ]
    },
    cssmin: {
      dist: {
        expand:              true,
        ext:                 '.min.css',
        keepSpecialComments: 0,
        src:                 'dist/assets/css/*.css'
      }
    },
    less: {
      bootstrap: {
        dest: 'dist/assets/css/bootstrap.css',
        options: {
          strictMath:       true
        },
        src:  'dist/temp/bootstrap/bootstrap.less'
      }
    }
  });


  // ------------------------------------------------------------------------------------------------------------------- External tasks


  grunt.loadNpmTasks('grunt-contrib-copy');
  grunt.loadNpmTasks('grunt-contrib-clean');
  grunt.loadNpmTasks('grunt-contrib-cssmin');
  grunt.loadNpmTasks('grunt-contrib-less');


  // ------------------------------------------------------------------------------------------------------------------- Task registry


  // A very basic default task.
  grunt.registerTask('default', 'Log some stuff.', function() {
    grunt.log.write('Logging some stuff...').ok();
  });

  grunt.registerTask('bootstrap', [ 'copy:bootstrap', 'copy:bootstrapConfig', 'less', 'clean:temp' ]);

  grunt.registerTask('css', [ 'copy:css', 'bootstrap', 'cssmin' ])

};<commit_msg>Added copy tasks for the rest of the required assets.<commit_after>module.exports = function(grunt) {


  // ------------------------------------------------------------------------------------------------------------------- Imports


  var fs = require('fs');


  // ------------------------------------------------------------------------------------------------------------------- Configuration


  grunt.initConfig({
    copy: {
      bootstrap: {
        cwd:    'node_modules/bootstrap/less',
        dest:   'dist/temp/bootstrap/',
        expand: true,
        src:    [ '**', '!bootstrap.less', '!variables.less' ]
      },
      bootstrapConfig: {
        cwd:    'config/bootstrap',
        dest:   'dist/temp/bootstrap/',
        expand: true,
        src:    '*.less'
      },
      bootstrapJs: {
        cwd:    'node_modules/bootstrap/dist/js/',
        dest:   'dist/assets/js/',
        expand: true,
        src:    [ '*.js', '!npm.js' ]
      },
      css: {
        dest:   'dist/',
        src:    'assets/css/*.css'
      },
      img: {
        dest:   'dist/',
        src:    'assets/img/*'
      },
      js: {
        dest:   'dist/',
        src:    'assets/js/*.js'
      }
    },
    clean: {
      dist: [ 'dist/' ],
      temp: [ 'dist/temp/' ]
    },
    cssmin: {
      dist: {
        expand:              true,
        ext:                 '.min.css',
        keepSpecialComments: 0,
        src:                 'dist/assets/css/*.css'
      }
    },
    less: {
      bootstrap: {
        dest: 'dist/assets/css/bootstrap.css',
        options: {
          strictMath:       true
        },
        src:  'dist/temp/bootstrap/bootstrap.less'
      }
    }
  });


  // ------------------------------------------------------------------------------------------------------------------- External tasks


  grunt.loadNpmTasks('grunt-contrib-copy');
  grunt.loadNpmTasks('grunt-contrib-clean');
  grunt.loadNpmTasks('grunt-contrib-cssmin');
  grunt.loadNpmTasks('grunt-contrib-less');


  // ------------------------------------------------------------------------------------------------------------------- Task registry


  // A very basic default task.
  grunt.registerTask('default', 'Log some stuff.', function() {
    grunt.log.write('Logging some stuff...').ok();
  });

  grunt.registerTask('bootstrap', [ 'copy:bootstrap', 'copy:bootstrapConfig', 'less', 'clean:temp', 'copy:bootstrapJs' ]);

  grunt.registerTask('css', [ 'copy:css', 'bootstrap', 'cssmin' ])

};
{'fraction_non_alphanumeric': 0.33520882925773643, 'fraction_numerical': 0.00043280675178532783, 'mean_word_length': 1.0379188712522045, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3335643', 'n_tokens_mistral': 1255, 'n_tokens_neox': 1204, 'n_words': 204}