<commit_before>/* global module */

// The idea is that first the SASS/COFFEESCRIPT/JADE is compiled/processed
// And then the result is stored in the right folder, where it is copied and manipulated more if needed to
// the proper folder in project
//
// Tasks
// Init - Initialize folder structure, process and copy files
// Watch - Watches the files, does needed actions and copies the files

module.exports = function(grunt) {
    'use strict';

    // Project configuration.
    grunt.initConfig({
        // Init task
        mkdir: {
            init: {
                options: {
                    create: ['project', 'project/stylesheets', 'project/scripts', 'project/images']
                }
            }
        },

        // LESS
        recess: {
            all: {
                options: {
                    compile: true
                },
                files: [
                    // First copy everything from the images folder & then copy the crushed files over
                    {expand: true, cwd: './less/', src: ['*', '!bootstrap-ie7.less'], dest: './styleheets', filter: 'isFile'},
                ]
            }
        },

        // Handle images
        imagemin: {
            // This one has only one task, any image in images folder will be crushed and result is outputted to the images_crushed folder
            all: {
                options: {
                    optimizationLevel: 3
                },
                files: [{
                    expand: true,
                    cwd: 'images',
                    src: '*.{png,jpg,jpeg}',
                    dest: 'images_crushed'
                }]
            }
        },

        // Time to handle copying files
        copy: {
            images: {
                files: [
                    // First copy everything from the images folder & then copy the crushed files over
                    {expand: true, cwd: './images/', src: ['**'], dest: 'project/images', filter: 'isFile'},
                    {expand: true, cwd: './images_crushed/', src: ['**'], dest: 'project/images', filter: 'isFile'},
                ]<commit_msg>recessnow alo ignores boxsizing<commit_after>/* global module */

// The idea is that first the SASS/COFFEESCRIPT/JADE is compiled/processed
// And then the result is stored in the right folder, where it is copied and manipulated more if needed to
// the proper folder in project
//
// Tasks
// Init - Initialize folder structure, process and copy files
// Watch - Watches the files, does needed actions and copies the files

module.exports = function(grunt) {
    'use strict';

    // Project configuration.
    grunt.initConfig({
        // Init task
        mkdir: {
            init: {
                options: {
                    create: ['project', 'project/stylesheets', 'project/scripts', 'project/images']
                }
            }
        },

        // LESS
        recess: {
            all: {
                options: {
                    compile: true
                },
                files: [
                    // First copy everything from the images folder & then copy the crushed files over
                    {expand: true, cwd: './less/', src: ['*', '!bootstrap-ie7.less', '!boxsizing.htc'], dest: './styleheets', filter: 'isFile'},
                ]
            }
        },

        // Handle images
        imagemin: {
            // This one has only one task, any image in images folder will be crushed and result is outputted to the images_crushed folder
            all: {
                options: {
                    optimizationLevel: 3
                },
                files: [{
                    expand: true,
                    cwd: 'images',
                    src: '*.{png,jpg,jpeg}',
                    dest: 'images_crushed'
                }]
            }
        },

        // Time to handle copying files
        copy: {
            images: {
                files: [
                    // First copy everything from the images folder & then copy the crushed files over
                    {expand: true, cwd: './images/', src: ['**'], dest: 'project/images', filter: 'isFile'},
                    {expand: true, cwd: './images_crushed/', src: ['**'], dest: 'project/images', filter: 'isFile'},
                ]
{'fraction_non_alphanumeric': 0.1099028227672374, 'fraction_numerical': 0.0009254974548819991, 'mean_word_length': 1.331715210355987, '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': '6107323', 'n_tokens_mistral': 1111, 'n_tokens_neox': 1030, 'n_words': 366}