   grunt.loadNpmTasks 'grunt-tsd'
 
   #-------------------------------------------------------------------------
-  # Define the tasks
-  taskManager = new TaskManager.Manager();
-
-  taskManager.add 'setup', [
-    'tsd:dev'
-  ]
-
-  taskManager.add 'tools', [
-    'ts:dev'
-    'copy:tools'
-  ]
-
-  taskManager.add 'simpleFreedomChat', [
-    'copy:dev'
-    'browserify:simpleFreedomChatMain'
-    'browserify:simpleFreedomChatFreedomModule'
-  ]
-
-  taskManager.add 'copypasteFreedomChat', [
-    'copy:dev'
-    'browserify:copypasteFreedomChatMain'
-    'browserify:copypasteFreedomChatFreedomModule'
-  ]
-
-  taskManager.add 'samples', [
-    'simpleFreedomChat'
-    'copypasteFreedomChat'
-  ]
-
-  taskManager.add 'dev', [
-    'copy:dev'
-    'ts:dev'
-  ]
-
-  taskManager.add 'dist', [
-    'copy:dist'
-    'ts:dist'
-  ]
-
-  taskManager.add 'unit_tests', [
-    'dev'
-    'browserify:arraybuffersSpec'
-    'jasmine:arraybuffers'
-    'browserify:handlerSpec'
-    'jasmine:handler'
-    'browserify:taskmanagerSpec'
-    'jasmine:taskmanager'
-    'browserify:loggingSpec'
-    'jasmine:logging'
-  ]
-
-  grunt.registerTask 'default', [
-    'dev', 'unit_tests', 'dist'
-  ]
-
-  #-------------------------------------------------------------------------
   # Register the tasks
   taskManager.list().forEach((taskName) =>
     grunt.registerTask taskName, (taskManager.get taskName)

TaskManager = require './tools/taskmanager'
Rule = require './tools/common-grunt-rules'
path = require 'path'


          cwd: 'build/dev/taskmanager/'
          src: ['**/*.js'
                '!**/*.map'
                '!**/*.spec.js'
                '!**/*.spec.static.js']
          dest: 'tools/'
          onlyIf: 'modified'
        }]
