<commit_before>module.exports = (grunt) ->
    grunt.initConfig
        pkg: grunt.file.readJSON 'package.json'
        dirs:
            dist: 'public/dist'
            src: 'public/src'
        clean: [
            '<%= dirs.dist %>/css'
            '<%= dirs.dist %>/js'
            '<%= dirs.dist %>/img'
        ]
        coffeelint:
            app: ['Enactus.coffee']
            grunt: ['Gruntfile.coffee']
            config:
                files:
                    src: ['config/*.coffee']
            controllers:
                files:
                    src: ['controllers/*.coffee']
            options:
                'indentation':
                    value: 4
                'max_line_length':
                    'level': 'ignore'
        compass:
            dist:
                options:
                    httpPath: '<%= pkg.cdn %>'
                    cssDir: '<%= dirs.dist %>/css'
                    sassDir: '<%= dirs.src %>/sass'
                    imagesDir: 'img'
                    importPath: 'bower_components/foundation/scss'
                    environment: 'production'
                    relativeAssets: false
                    force: true
            dev:
                options:
                    cssDir: '<%= dirs.dist %>/css'
                    sassDir: '<%= dirs.src %>/sass'
                    imagesDir: 'img'
                    importPath: 'bower_components/foundation/scss'
                    force: true
                    watch: true
        copy:
            images:
                files: [
                    expand: true
                    cwd: '<%= dirs.src %>/img/'
                    src: ['**']
                    dest: '<%= dirs.dist %>/img/'
                ]
        imagemin:
            options:
                cache: false
            images:
                files: [
                    expand: true
                    cwd: '<%= dirs.src %>/img/'
                    src: ['**/*.{png,jpg,gif}']
                    dest: '<%= dirs.dist %>/img/'
                ]
        uglify:
            options:
                mangle:
                    except: ['jQuery']
            main:
                files: [
                    '<%= dirs.dist %>/js/enactus.js': [
                        '<%= dirs.src %>/js/plugins.js'
                        '<%= dirs.src %>/js/enactus.js'
                    ]
                    '<%= dirs.dist %>/js/landing.js': [
                        '<%= dirs.src %>/js/landing.js'
                    ]
                    '<%= dirs.dist %>/js/contact.js': [
                        '<%= dirs.src %>/js/contact.js'
                    ]
                ]

    grunt.loadNpmTasks 'grunt-contrib-clean'
    grunt.loadNpmTasks 'grunt-coffeelint'
    grunt.loadNpmTasks 'grunt-contrib-compass'
    grunt.loadNpmTasks 'grunt-contrib-imagemin'
    grunt.loadNpmTasks 'grunt-contrib-uglify'

    grunt.registerTask 'default', [
        'clean', 'imagemin', 'uglify', 'compass:dist'
    ]
    grunt.registerTask 'dev', ['test', 'compass:dev']
    grunt.registerTask 'test', ['coffeelint']<commit_msg>Updated Gruntfile.coffee to work with new static site - Removed coffeelint (no longer needed) - Updated file and directory paths - Changed SCSS output style for dev (easier to debug)<commit_after>module.exports = (grunt) ->
    grunt.initConfig
        pkg: grunt.file.readJSON 'package.json'
        dirs:
            dist: '.'
            src: 'src'
        clean: [
            '<%= dirs.dist %>/css'
            '<%= dirs.dist %>/js'
            '<%= dirs.dist %>/img'
        ]
        compass:
            dist:
                options:
                    httpPath: '<%= pkg.cdn %>'
                    cssDir: '<%= dirs.dist %>/css'
                    sassDir: '<%= dirs.src %>/scss'
                    imagesDir: 'img'
                    importPath: 'bower_components/foundation/scss'
                    environment: 'production'
                    relativeAssets: false
                    force: true
            dev:
                options:
                    outputStyle: 'expanded'
                    cssDir: '<%= dirs.dist %>/css'
                    sassDir: '<%= dirs.src %>/scss'
                    imagesDir: 'img'
                    importPath: 'bower_components/foundation/scss'
                    force: true
                    watch: true
        copy:
            images:
                files: [
                    expand: true
                    cwd: '<%= dirs.src %>/img/'
                    src: ['**']
                    dest: '<%= dirs.dist %>/img/'
                ]
        imagemin:
            options:
                cache: false
            images:
                files: [
                    expand: true
                    cwd: '<%= dirs.src %>/img/'
                    src: ['**/*.{png,jpg,gif}']
                    dest: '<%= dirs.dist %>/img/'
                ]
        uglify:
            options:
                mangle:
                    except: ['jQuery']
            main:
                files: [
                    '<%= dirs.dist %>/js/enactus.js': [
                        '<%= dirs.src %>/js/plugins.js'
                        '<%= dirs.src %>/js/enactus.js'
                    ]
                    '<%= dirs.dist %>/js/landing.js': [
                        '<%= dirs.src %>/js/landing.js'
                    ]
                    '<%= dirs.dist %>/js/contact.js': [
                        '<%= dirs.src %>/js/contact.js'
                    ]
                ]

    grunt.loadNpmTasks 'grunt-contrib-clean'
    grunt.loadNpmTasks 'grunt-contrib-compass'
    grunt.loadNpmTasks 'grunt-contrib-imagemin'
    grunt.loadNpmTasks 'grunt-contrib-uglify'

    grunt.registerTask 'default', [
        'clean', 'imagemin', 'uglify', 'compass:dist'
    ]
    grunt.registerTask 'dev', ['compass:dev']
{'fraction_non_alphanumeric': 0.13316326530612244, 'fraction_numerical': 0.00017006802721088434, 'mean_word_length': 0.9828051247471342, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 43, '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': '6295157', 'n_tokens_mistral': 1745, 'n_tokens_neox': 1604, 'n_words': 294}