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

Commit 7259614

Browse files
eddiemongejuliemr
authored andcommitted
feat(config): allow CoffeeScript configuration files
Require CoffeeScript in the cli file to enable CS configuration and spec files. Possibly fixes #38
1 parent e7d9e08 commit 7259614

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/cli.js

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
* Values from command line options override values from the config.
66
*/
77

8+
// Coffee is required here to enable config files written in coffee-script.
9+
// It's not directly used in this file.
10+
require('coffee-script');
11+
812
var util = require('util');
913
var path = require('path')
1014
var fs = require('fs');

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"saucelabs": "~0.1.0",
1818
"glob": ">=3.1.14",
1919
"adm-zip": ">=0.4.2",
20-
"optimist": "~0.6.0"
20+
"optimist": "~0.6.0",
21+
"coffee-script": "~1.6.3"
2122
},
2223
"devDependencies": {
2324
"expect.js": "~0.2.0",

0 commit comments

Comments
 (0)