 gruntConfig.coffee =
   src:
     expand: true
-    cwd: SRC_DIR
-    dest: "#{TMP_DIR}/#{SRC_DIR}"
+    cwd: FILES.src.path
+    dest: FILES.tmp.src.path
     src: ['**/*.coffee']
     ext: '.js'
 
   test:
     expand: true
-    cwd: TEST_DIR
-    dest: "#{TMP_DIR}/#{TEST_DIR}"
+    cwd: FILES.test.path
+    dest: FILES.tmp.test.path
     src: ['**/*.coffee']
     ext: '.js'
 
   release:
     expand: true
-    cwd: SRC_DIR
-    dest: "#{TMP_DIR}/#{SRC_DIR}"
+    cwd: FILES.src.path
+    dest: FILES.tmp.src.path
     src: ['**/*.coffee']
     ext: '.js'
     options:

      banner: BANNER
      report: 'gzip'

    src: ["#{BUILD_DIR}/leaf.js"]
    dest: "#{BUILD_DIR}/leaf.min.js"


#  Watch

    spawn: false

  src:
    files: FILES.src.join '**', '*.coffee'
    tasks: ['newer:coffee:src']

  test:
    files: FILES.test.join '**', '*.coffee'
    tasks: ['newer:coffee:test']

  karma:
    files: [
      FILES.tmp.src.join('**', '*.js')
      FILES.tmp.test.join('**', '*_spec.js')
    ]
    tasks: ['group_test']

