 INSTALL_DIR = path.join('/Applications', APP_NAME)
 
 module.exports = (grunt) ->
+  cp = (source, destination) ->
+    if fs.statSync(source).isDirectory()
+      require('wrench').copyDirSyncRecursive(arguments...)
+    else
+      fs.writeFileSync(destination, fs.readFileSync(source))
+    grunt.log.writeln("Copied #{source.cyan} to #{destination.cyan}.")
+
   grunt.initConfig
     pkg: grunt.file.readJSON('package.json')
 

path = require 'path'
rm = require('rimraf').sync
mkdir = require('wrench').mkdirSyncRecursive
cp = require('wrench').copyDirSyncRecursive
_ = require 'underscore'
CSON = require 'season'



    mkdir APP_DIR

    cp 'atom.sh', path.join(APP_DIR, 'atom.sh')
    cp 'package.json', path.join(APP_DIR, 'package.json')

    directories = [
      'benchmark'
