Permalink
Browse files

Dependencies now run before the target task, rather than after.

  • Loading branch information...
1 parent c13cee1 commit 303d9a6b0289b16e15b3c4b0ede3bfc9245918c8 Jakob Mattsson committed Nov 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jake.js
View
@@ -170,14 +170,14 @@ jake = new function () {
* dependencies are being parsed.
*/
, _parseDeps = function (name) {
- _taskList.push(name);
var task = _this.getTask(name)
, deps = task.deps;
if (deps && _isArray(deps) && deps.length) {
for (var i = 0, ii = deps.length; i < ii; i++) {
_parseDeps(deps[i]);
}
}
+ _taskList.push(name);
};
// Public properties

0 comments on commit 303d9a6

Please sign in to comment.