 module.exports = (grunt) ->
     grunt.initConfig
-        dist: 'public/dist'
-        src: 'public/src'
         pkg: grunt.file.readJSON 'package.json'
-        clean: ['<%= dist %>/css', '<%= dist %>/js']
+        dirs:
+            dist: 'public/dist'
+            src: 'public/src'
+        clean: [
+            '<%= dirs.dist %>/css'
+            '<%= dirs.dist %>/js'
+            '<%= dirs.dist %>/img'
+        ]
         coffeelint:
             app: ['Enactus.coffee']
             grunt: ['Gruntfile.coffee']

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

    grunt.registerTask 'default', [
        'clean', 'uglify', 'compass:dist'
    ]
    grunt.registerTask 'dev', ['default', 'test', 'compass:dev']
    grunt.registerTask 'test', ['coffeelint']
                    force: true
            dev:
                options:
                    cssDir: '<%= dirs.dist %>/css'
                    sassDir: '<%= dirs.src %>/sass'
                    imagesDir: 'img'
                    importPath: 'bower_components/foundation/scss'
                    force: true
