 module.exports = (grunt) ->
-
-  stylusStyles = [
-    'bower_components/este-library/este/**/*.styl'
-    'client/app/css/**/*.styl'
-  ]
-
-  coffeeScripts = [
-    'bower_components/este-library/este/**/*.coffee'
-    'client/app/js/**/*.coffee'
-    'server/**/*.coffee'
-  ]
-
-  soyTemplates = [
-    'bower_components/este-library/este/**/*.soy'
-    'client/app/js/**/*.soy'
-  ]
-
-  clientDirs = [
-    'bower_components/closure-library'
-    'bower_components/closure-templates'
-    'bower_components/este-library/este'
-    'client/app/js'
-  ]
-
-  clientDepsPath =
-    'client/deps.js'
-
-  clientDepsPrefix =
-    '../../../../'
 
   grunt.initConfig
 

      all:
        files: [
          expand: true
          src: stylusStyles
          ext: '.css'
        ]
      app:

      app:
        files: [
          expand: true
          src: [
            'bower_components/este-library/este/**/*.coffee'
            'client/app/js/**/*.coffee'
            'server/**/*.coffee'
          ]
          ext: '.js'
        ]

    coffee2closure:
      app:
        files: '<%= coffee.app.files %>'

    esteTemplates:
      app:
        src: [
          'bower_components/este-library/este/**/*.soy'
          'client/app/js/**/*.soy'
        ]

    esteDeps:
      all:
        options:
          outputFile: 'client/deps.js'
          prefix: '../../../../'
          root: [
            'bower_components/closure-library'
            'bower_components/closure-templates'
            'bower_components/este-library/este'
            'client/app/js'
          ]

    esteUnitTests:
      options:
        depsPath: '<%= esteDeps.all.options.outputFile %>'
        prefix: '<%= esteDeps.all.options.prefix %>'
      app:
        src: [
          'bower_components/este-library/este/**/*_test.js'
