<commit_before>/**
 * copy.js - config for grunt-contrib-copy
 */

module.exports = function ( grunt ) {

    var common = grunt.fcoo.common,
        paths  = grunt.fcoo.paths,
        lodash = require('lodash')

        Temp_2_TempDist = { expand: true, cwd: paths.temp, dest: paths.temp_dist };

    return {

        //BowerComponentsData_2_Dev: Copy all files from data/ found in bower_components to dev/ - options.src is set by task "copy_BowerComponentsData_2_Dev" (in grunt\tasks\_build_dev.js)
        BowerComponentsData_2_Dev: { cwd: paths.bower_components, src: [], dest: paths.dev_data, expand: true, flatten: true, filter: 'isFile' },

        //BowerComponentsImages_2_Dev: Copy all files from images/ found in bower_components to dev/ - options.src is set by task "copy_BowerComponentsImages_2_Dev" (in grunt\tasks\_build_dev.js)
        BowerComponentsImages_2_Dev: { cwd: paths.bower_components, src: [], dest: paths.dev_images, expand: true, flatten: true, filter: 'isFile' },


        //BowerComponentsDataFontsImages_2_Temp: Copy all files from images/ and fonts/ found in bower_components to temp/ - options.src is set by task "create__bower_components_js_css_in_temp"
        BowerComponentsDataFontsImages_2_Temp: { cwd: paths.bower_components, src: [], dest: paths.temp, expand: true, filter: 'isFile'},

        //AppStyleDataFontsImages_2_Temp: Copy all files from data/ and fonts/ and images/ found in app/style/ to temp/
        //Note: images is inclusive sub-dir
        AppStyleDataFontsImages_2_Temp: { cwd: paths.app_styles, src: [paths.data+'*', paths.fonts+'*', paths.images+'**/*.*'], dest: paths.temp, expand: true, filter: 'isFile'},


        Temp_data_2_TempDist  : lodash.merge( {}, Temp_2_TempDist,  { flatten: true, src: common.srcExclude_(['**/' + paths.data   + '*.*']), dest: paths.temp_dist_data   } ),
        Temp_fonts_2_TempDist : lodash.merge( {}, Temp_2_TempDist,  { flatten: true, src: common.srcExclude_(['**/' + paths.fonts  + '*.*']), dest: paths.temp_dist_fonts  } ),
        //Note: images is inclusive sub-dir
        Temp_images_2_TempDist: lodash.merge( {}, Temp_2_TempDist,  { flatten: false/*true*/, src: common.srcExclude_(['**/' + paths.images + '**/*.*']), dest: paths.temp_dist/*_images*/ } ),

        //Note: images is inclusive sub-dir
        TempDist_2_Dist: { cwd: paths.temp_dist, dest: paths.dist, src: common.srcExclude_(['**/*.*', '**/**/*.*']), expand: true},
        TempDist_2_Dev : { cwd: paths.temp_dist, dest: paths.dev , src: common.srcExclude_(['**/*.*']), expand: true},
        TempDist_2_Demo: { cwd: paths.temp_dist, dest: paths.demo, src: common.srcExclude_(['**/*.*']), expand: true},

        //Copies all files in app/scripts and app/styles to temp, excl. '_*.*' and *.min.js/css
        AppScriptsAppStyles_2_Temp: {
            cwd   : paths.app,
            src   : common.srcExclude_([paths.scripts +'*.js', paths.styles + '*.css', '!**/*.min.*']),
            dest  : paths.temp,
            expand: true,
            filter: 'isFile'
        },

        //Copy app/_index.html.tmpl to dist/index.html
        App_indexHtmlTmpl_2_TempDist_indexHtml: {
            src   : [paths.app + '_index.html.tmpl'],
            dest  : paths.temp_dist + 'index.html'    ,
            expand: false,
            filter: 'isFile'<commit_msg>Roll back to 5.0.13<commit_after>/**
 * copy.js - config for grunt-contrib-copy
 */

module.exports = function ( grunt ) {

    var common = grunt.fcoo.common,
        paths  = grunt.fcoo.paths,
        lodash = require('lodash')

        Temp_2_TempDist = { expand: true, cwd: paths.temp, dest: paths.temp_dist };

    return {

        //BowerComponentsData_2_Dev: Copy all files from data/ found in bower_components to dev/ - options.src is set by task "copy_BowerComponentsData_2_Dev" (in grunt\tasks\_build_dev.js)
        BowerComponentsData_2_Dev: { cwd: paths.bower_components, src: [], dest: paths.dev_data, expand: true, flatten: true, filter: 'isFile' },

        //BowerComponentsImages_2_Dev: Copy all files from images/ found in bower_components to dev/ - options.src is set by task "copy_BowerComponentsImages_2_Dev" (in grunt\tasks\_build_dev.js)
        BowerComponentsImages_2_Dev: { cwd: paths.bower_components, src: [], dest: paths.dev_images, expand: true, flatten: true, filter: 'isFile' },

        //BowerComponentsDataFontsImages_2_Temp: Copy all files from images/ and fonts/ found in bower_components to temp/ - options.src is set by task "create__bower_components_js_css_in_temp"
        BowerComponentsDataFontsImages_2_Temp: { cwd: paths.bower_components, src: [], dest: paths.temp, expand: true, filter: 'isFile'},

        //AppStyleDataFontsImages_2_Temp: Copy all files from data/ and fonts/ and images/ found in app/style/ to temp/
        AppStyleDataFontsImages_2_Temp: { cwd: paths.app_styles, src: [paths.data+'*', paths.fonts+'*', paths.images+'*'], dest: paths.temp, expand: true, filter: 'isFile'},

        Temp_data_2_TempDist  : lodash.merge( {}, Temp_2_TempDist,  { flatten: true, src: common.srcExclude_(['**/' + paths.data   + '*.*']), dest: paths.temp_dist_data   } ),
        Temp_fonts_2_TempDist : lodash.merge( {}, Temp_2_TempDist,  { flatten: true, src: common.srcExclude_(['**/' + paths.fonts  + '*.*']), dest: paths.temp_dist_fonts  } ),
        Temp_images_2_TempDist: lodash.merge( {}, Temp_2_TempDist,  { flatten: true, src: common.srcExclude_(['**/' + paths.images + '*.*']), dest: paths.temp_dist_images } ),

        TempDist_2_Dist: { cwd: paths.temp_dist, dest: paths.dist, src: common.srcExclude_(['**/*.*']), expand: true},
        TempDist_2_Dev : { cwd: paths.temp_dist, dest: paths.dev , src: common.srcExclude_(['**/*.*']), expand: true},
        TempDist_2_Demo: { cwd: paths.temp_dist, dest: paths.demo, src: common.srcExclude_(['**/*.*']), expand: true},

        //Copies all files in app/scripts and app/styles to temp, excl. '_*.*' and *.min.js/css
        AppScriptsAppStyles_2_Temp: {
            cwd   : paths.app,
            src   : common.srcExclude_([paths.scripts +'*.js', paths.styles + '*.css', '!**/*.min.*']),
            dest  : paths.temp,
            expand: true,
            filter: 'isFile'
        },

        //Copy app/_index.html.tmpl to dist/index.html
        App_indexHtmlTmpl_2_TempDist_indexHtml: {
            src   : [paths.app + '_index.html.tmpl'],
            dest  : paths.temp_dist + 'index.html'    ,
            expand: false,
            filter: 'isFile'
{'fraction_non_alphanumeric': 0.14870689655172414, 'fraction_numerical': 0.007389162561576354, 'mean_word_length': 3.1146295123495884, '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': '2444250', 'n_tokens_mistral': 2197, 'n_tokens_neox': 2153, 'n_words': 499}