           position: 'top'
           banner: '<%= banner %>'
         files:
-          src: [
-            'dist/gss.js'
-            'dist/gss.min.js'
-          ]
+          src: ['dist/**/*.js']
 
     # Syntax checking
     coffeelint:
+      options:
+        'max_line_length':
+          level: 'ignore'
+        'no_trailing_whitespace':
+          level: 'ignore'
+        'no_backticks':
+          level: 'ignore'
+      bundle:
+        files:
+          src: ['src/**/*.coffee']
       src:
         files:
-          src: ['src/*.coffee', 'src/**/*.coffee']
-        options:
-          'max_line_length':
-            level: 'ignore'
-          'no_trailing_whitespace':
-            level: 'ignore'
-          'no_backticks':
-            level: 'ignore'
+          src: ['src/**/*.coffee']
       spec:
         files:
           src: ['spec/*.coffee']
-        options:
-          'max_line_length':
-            level: 'ignore'
-          'no_trailing_whitespace':
-            level: 'ignore'
-          'no_backticks':
-            level: 'ignore'
 
     docco:
       src:

    uglify:
      options:
        report: 'min'
      engine:
        files:
          './dist/gss.min.js': ['./dist/gss.js']

    # Adding version information to the generated files
    banner: '/* <%= pkg.name %> - version <%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd") %>) - http://gridstylesheets.org */'

    pkg: @file.readJSON 'package.json'

    clean:
      dist:
        src: ['dist/**/*.js']
      spec:
        src: ['spec/js/**/*.js']

    browserify:
      options:
        transform: ['coffeeify']
        browserifyOptions:
          extensions: ['.coffee']
          fullPaths: false
      dist:
        files: [{
          expand: true
          cwd: 'bundles'
          src: '**/*.coffee'
          dest: 'dist'
          ext: '.js'
          extDot: 'last'
        }]
      spec:
        files:
          'spec/js/specs.js': ['spec/specs.coffee']

    # Automated recompilation and testing when developing
    watch:
