     dork.run()
 
 
+# Desc:
+#   A simple function to attempt to import coffee, or fail with a meaningful
+#   message if coffee is not found.
+import_coffee = ->
+  try
+    require 'coffee-script'
+  catch e
+    if e.message is "Cannot find module 'coffee-script'"
+      throw new Error 'CoffeeScript must be installed manually to test '+
+        '.coffee files.'
+    else
+      throw e
+
+
 
 
 exports.exec = exec
nomnom.help 'Start dork tests in the given file or directory with '+
  'optional overriding options.'
nomnom.options
  files:
    default: ['./test']
    abbr: 'f'

# Copyright (c) 2012 Lee Olayvar <leeolayvar@gmail.com>
# MIT Licensed
#
fs = require 'fs'
path = require 'path'
nomnom = require 'nomnom'
resolve = require 'resolve'



# A node version fix.
if path.existsSync?
  existsSync = path.existsSync
else
  existsSync = fs.existsSync



