         'dist': './_dist'
         'build': './_build'
         'src': './client'
-        'templates': './client/html/templates'
+        'html': './client/html/templates'
         'docs': './docs'
         'test': './test'
         'custom': './_custom'

    grunt.loadTasks './lib/grunt'

    grunt.registerTask 'build_details', ->
      grunt.log.writeln "\n##########"
      grunt.log.writeln "Custom Build Generated: "
      grunt.log.write "### " + customBuildDest + " ###"
      grunt.log.writeln "\n##########\n"

    # Tasks
    # ==========

    grunt.registerTask 'package', 'Build a zipped distribution-worthy version', ['build_stripped', 'copy:dist', 'compress']

    grunt.registerTask 'custom', 'Build a custom version', (modules) ->
        util = require './lib/grunt/utils'
        dest = customBuildDest
        if (modules?)
            util.build.call util, dest, modules.split(',')
        else
            util.build.call util, dest, []
        grunt.task.run(['uglify:custom', 'cssmin:custom', 'usebanner:customhead', 'usebanner:customfoot', 'compress:custom', 'build_details'])

    grunt.registerTask 'default', 'Default task: clean, bower, lint, build, & test', ['package']
