diff options
Diffstat (limited to 'docs/specs.js')
| -rw-r--r-- | docs/specs.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/docs/specs.js b/docs/specs.js deleted file mode 100644 index d564b045..00000000 --- a/docs/specs.js +++ /dev/null @@ -1,21 +0,0 @@ -require.paths.push("./lib"); -var jasmine = require('jasmine-1.0.1'); -var sys = require('util'); - -for(var key in jasmine) { - global[key] = jasmine[key]; -} - -var isVerbose = false; -var showColors = true; -process.argv.forEach(function(arg){ - switch(arg) { - case '--color': showColors = true; break; - case '--noColor': showColors = false; break; - case '--verbose': isVerbose = true; break; - } -}); - -jasmine.executeSpecsInFolder(__dirname + '/spec', function(runner, log){ - process.exit(runner.results().failedCount); -}, isVerbose, showColors);
\ No newline at end of file |
