Permalink
Browse files

Use transformers instead of consolidate-build

  • Loading branch information...
1 parent c1be019 commit 084e49b6a204bc9ecf5f3c899b98d25ebee8184d @ForbesLindesay ForbesLindesay committed Feb 3, 2013
Showing with 3 additions and 3 deletions.
  1. +2 −2 commands/compile.js
  2. +1 −1 package.json
View
@@ -1,7 +1,7 @@
var fs = require('fs');
var q = require('q');
var pathLib = require('path');
-var build = require('consolidate-build');
+var build = require('transformers');
var utils = require('../lib/utils');
// files with these extensions need to be compiled;
@@ -234,7 +234,7 @@ function generateCompileFn(fileNameSansExtension, extension, compilerOptions,
// simply use the file extension as a key
return utils.mkdirRecursive(pathLib.dirname(directory + '/' + fileDisplay))
.then(function() {
- return q.ncall(build[extension], build[extension], fileName, options);
+ return build[extension].renderFile(fileName, options);
})
.then(function(output) {
var newExtension = compiledExtensions[extension];
View
@@ -14,7 +14,7 @@
"coffee-script": ">= 1.3.2",
"commander": "1.0.x",
"commander-config": "0.x.x",
- "consolidate-build": "1.x.x",
+ "transformers": "1.x.x",
"jade": ">= 0.26.3",
"mime": "1.2.x",
"nconf": "0.6.x",

0 comments on commit 084e49b

Please sign in to comment.