<commit_before>"use strict"

module.exports = ( grunt ) ->

    grunt.loadNpmTasks "grunt-contrib-clean"
    grunt.loadNpmTasks "grunt-contrib-watch"
    grunt.loadNpmTasks "grunt-contrib-copy"
    grunt.loadNpmTasks "grunt-contrib-jade"
    grunt.loadNpmTasks "grunt-ks-stylus"

    grunt.initConfig
        clean:
            docs: [ "docs" ]
        stylus:
            options:
                compress: yes
            docs:
                files:
                    "docs/styles/styles.css": "_docs/_styles/styles.styl"
        jade:
            options:
                compress: yes
            docs:
                files:
                    "docs/demo.html": "_docs/_pages/demo.jade" # TODO : change this
        copy:
            images:
                expand: yes
                src: [ "_docs/_styles/img/**" ]
                dest: "docs/styles/img/"
            fonts:
                expand: yes
                src: [ "_docs/_styles/fonts/**" ]
                dest: "docs/styles/fonts/"
        watch:
            jade:
                files: "_docs/_pages/*.jade"
                tasks: [ "jade" ]
            styles:
                files: "_docs/_styles/**/*.styl"
                tasks: [ "stylus" ]

    # TODO : change this, default task should build the docs & demo
    grunt.registerTask "default", [
        "clean"
        "jade"
        "stylus"
        "copy"
    ]

    grunt.registerTask "work", [
        "default"
        "watch"
    ]
<commit_msg>Fixing tasks<commit_after>"use strict"

module.exports = ( grunt ) ->

    grunt.loadNpmTasks "grunt-contrib-clean"
    grunt.loadNpmTasks "grunt-contrib-watch"
    grunt.loadNpmTasks "grunt-contrib-copy"
    grunt.loadNpmTasks "grunt-contrib-jade"
    grunt.loadNpmTasks "grunt-ks-stylus"

    grunt.initConfig
        clean:
            docs: [ "docs" ]
        stylus:
            options:
                compress: yes
            docs:
                files:
                    "docs/styles/styles.css": "_docs/_styles/styles.styl"
        jade:
            options:
                compress: yes
            docs:
                files:
                    "docs/demo.html": "_docs/_pages/demo.jade" # TODO : change this
        copy:
            assets:
                expand: yes
                cwd: "_docs/_styles/"
                src: [ "img/**", "fonts/**" ]
                dest: "docs/styles/"
        watch:
            jade:
                files: "_docs/_pages/*.jade"
                tasks: [ "jade" ]
            styles:
                files: "_docs/_styles/**/*.styl"
                tasks: [ "stylus" ]

    # TODO : change this, default task should build the docs & demo
    grunt.registerTask "default", [
        "clean"
        "jade"
        "stylus"
        "copy"
    ]

    grunt.registerTask "work", [
        "default"
        "watch"
    ]

{'fraction_non_alphanumeric': 0.11604334148898986, 'fraction_numerical': 0.0, 'mean_word_length': 1.2429467084639498, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 5, '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': '2831116', 'n_tokens_mistral': 889, 'n_tokens_neox': 838, 'n_words': 163}