text: 'use strict';
  
  
  module.exports = function copyto(grunt) {
      // Load task
      grunt.loadNpmTasks('grunt-copy-to');
  
  	// Options
  	return {
  	    build: {
              files: [{
                  cwd: 'public',
                  src: ['**/*'],
                  dest: '.build/'
              }],
  	        options: {
  	            ignore: [
  	            	'public/css/**/*',
  	                'public/js/**/*',
  	                'public/templates/**/*'
  	            ]
  	        }
  	    },
          package: {
              files: [{
                  cwd: '.',
                  src: ['**/*','.build/**'],
                  dest: '.package/'
              }],
              options: {
                  ignore: [
                      './start.sh'
                  ]
              }
          },
          heroku: {
              files: [{
                  cwd: '.',
                  src: ['**/*','.build/**','!node_modules/**'],
                  dest: '.heroku/'
              }],
              options: {
                  ignore: [
                      './start.sh'
                  ]
              }
          }
      };
  };
  