/*global module:false*/
module.exports = function(grunt) {

  require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);

  // Project configuration.
  grunt.initConfig({
    // Metadata.
    pkg: grunt.file.readJSON('package.json'),
    jshint: {
      options: {
        jshintrc: '.jshintrc'
      },
      src: ['Gruntfile.js', 'app/js/**/*.js']
    },
    
    sass: {
      options: {
        style: 'expanded'
      },
      'app/assets/css/styles.css': [
        <% if (includeBourbon) { %>'bower_components/bourbon/app/assets/stylesheets/_bourbon.scss',<% } %>
        'bower_components/normalize-css/normalize.css',
        'app/sass/styles.scss'
      ]
    },
    
    cssmin: {
      'build/assets/css/styles.css': 'app/assets/css/styles.css'
    },

    uglify: {
      files: {
        src: 'app/assets/js/main.js',
        dest: 'build/assets/js/main.js'
      }
    },

    concat: {
      options: {
        separator: ';'
      },
      dist: {
        src: [
          'bower_components/jquery/jquery.js'
        ],
        dest: 'app/assets/js/main.js'
      }
    },

    copy: {
      files: {
        expand: true,
        cwd: 'app/',
        src: [
          '**/*.html',
          'assets/images/**'
        ],
        dest: 'build/'
      }
    },

    clean: ['build/'],

    watch: {
      dev: {
        files: [
          'app/sass/**/*.scss',
          'app/scripts/**/*.js'
        ],
        tasks: ['sass', 'jshint', 'concat']
      }
    },

    connect: {
      server: {
        options: {
          host: '*',
          port: 8000,
          base: 'app'
        }
      }
    }
  });

  // Default task.
  grunt.registerTask('default', ['connect:server', 'watch']);

  // Development task.
  grunt.registerTask('dev', ['jshint', 'sass', 'concat']);

  // Build task.
  grunt.registerTask('build', ['jshint', 'sass', 'uglify', 'cssmin', 'copy']);
};

@@ -122,24 +122,88 @@
 NpmTasks);%0A%0A
+  var yeomanConfig = %7B%0A    app: 'app',%0A    build: 'build'%0A  %7D;%0A%0A
   // Project
@@ -239,16 +239,43 @@
 onfig(%7B%0A
+    yeoman: yeomanConfig,%0A%0A
     // M
@@ -428,19 +428,34 @@
 e.js', '
-app
+%3C%25%25= yeoman.app %25%3E
 /js/**/*
@@ -543,19 +543,34 @@
 %0A      '
-app
+%3C%25%25= yeoman.app %25%3E
 /assets/
@@ -756,27 +756,42 @@
 ',%0A        '
-app
+%3C%25%25= yeoman.app %25%3E
 /sass/styles
@@ -838,21 +838,36 @@
 %0A      '
+%3C%25%25= yeoman.
 build
+ %25%3E
 /assets/
@@ -884,19 +884,34 @@
 .css': '
-app
+%3C%25%25= yeoman.app %25%3E
 /assets/
@@ -977,19 +977,34 @@
   src: '
-app
+%3C%25%25= yeoman.app %25%3E
 /assets/
@@ -1031,21 +1031,36 @@
  dest: '
+%3C%25%25= yeoman.
 build
+ %25%3E
 /assets/
@@ -1251,19 +1251,34 @@
  dest: '
-app
+%3C%25%25= yeoman.app %25%3E
 /assets/
@@ -1368,20 +1368,34 @@
   cwd: '
-app/
+%3C%25%25= yeoman.app %25%3E
 ',%0A     
@@ -1482,22 +1482,36 @@
  dest: '
+%3C%25%25= yeoman.
 build
-/
+ %25%3E
 '%0A      
@@ -1537,14 +1537,28 @@
 : %5B'
+%3C%25%25= yeoman.
 build
-/
+ %25%3E
 '%5D,%0A
@@ -1612,19 +1612,34 @@
        '
-app
+%3C%25%25= yeoman.app %25%3E
 /sass/**
@@ -1659,19 +1659,34 @@
        '
-app
+%3C%25%25= yeoman.app %25%3E
 /scripts
@@ -1876,19 +1876,34 @@
  base: '
-app
+%3C%25%25= yeoman.app %25%3E
 '%0A      

Add configurable path variables to Gruntfile