     pkg: grunt.file.readJSON('package.json')
 
 
-    # Wipe out previous builds and test reporting.
     clean:
       dev:
         src: 'tmp/'

          'dist/index.html': ['index.html']


    # This task uses James Burke's excellent r.js AMD builder to take all
    # modules and concatenate them into a single file.
    requirejs:
      compile:
        options:
          baseUrl: 'tmp/app'
          mainConfigFile: 'tmp/app/config.js'
          moduleDirs: ["tmp/app"]

          out: 'tmp/application.js'
          optimize: ''

          generateSourceMaps: false
          preserveLicenseComments: true


    copy:

  grunt.loadNpmTasks('grunt-contrib-coffee')

  grunt.loadNpmTasks('grunt-processhtml')
  # grunt.loadNpmTasks("grunt-bbb-requirejs")
  grunt.loadNpmTasks('grunt-contrib-requirejs')

  grunt.loadNpmTasks('grunt-contrib-copy')
  grunt.loadNpmTasks('grunt-contrib-uglify')
