           compile info, file, sourcePath, targetPath
 
         # Run the callback and watchers only after everything is compiled.
-        console.log 'compiled: ' + compiled
         if ++compiled is count
-          console.log 'running callback'
           fn?()
           if watch
             watchFiles files, (file) ->


# Compile all CoffeeScript sources for Node.
buildNode = (info, watch, fn) ->
  console.log info

  # Calculate path count.
  count = 0
  count++ for _ of info.paths

clean = (target) ->
  target ?= 'all'
  return unless knownTarget 'clean', target, ['build', 'docs', 'all']
  info = loadInfo()
  targets = (target for target of info.paths)
  switch target
    when 'build' then rmrf dir for dir in targets.concat('build')
    when 'docs' then rmrf 'docs'
    when 'all' then rmrf dir for dir in targets.concat('build', 'docs')
  return

# Generate documentation files using Docco.
