Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
feat(config): allow CoffeeScript configuration files
Browse files Browse the repository at this point in the history
Require CoffeeScript in the cli file to enable CS configuration and spec
files.

Possibly fixes #38
  • Loading branch information
eddiemonge authored and juliemr committed Jan 10, 2014
1 parent e7d9e08 commit 7259614
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* Values from command line options override values from the config.
*/

// Coffee is required here to enable config files written in coffee-script.
// It's not directly used in this file.
require('coffee-script');

var util = require('util');
var path = require('path')
var fs = require('fs');
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"saucelabs": "~0.1.0",
"glob": ">=3.1.14",
"adm-zip": ">=0.4.2",
"optimist": "~0.6.0"
"optimist": "~0.6.0",
"coffee-script": "~1.6.3"
},
"devDependencies": {
"expect.js": "~0.2.0",
Expand Down

0 comments on commit 7259614

Please sign in to comment.