Skip to content

Commit

Permalink
Move grunt.log into separate grunt-legacy-log module.
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboy committed May 6, 2014
1 parent a012c49 commit 0149291
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 354 deletions.
5 changes: 4 additions & 1 deletion lib/grunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,17 @@ var util = require('grunt-legacy-util');
grunt.util = util;
grunt.util.task = require('./util/task');

var Log = require('grunt-legacy-log').Log;
var log = new Log({grunt: grunt});
grunt.log = log;

gRequire('template');
gRequire('event');
var fail = gRequire('fail');
gRequire('file');
var option = gRequire('option');
var config = gRequire('config');
var task = gRequire('task');
var log = gRequire('log');
var help = gRequire('help');
gRequire('cli');
var verbose = grunt.verbose = log.verbose;
Expand Down
352 changes: 0 additions & 352 deletions lib/grunt/log.js

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
"js-yaml": "~2.0.5",
"exit": "~0.1.1",
"getobject": "~0.1.0",
"grunt-legacy-util": "~0.1.2"
"grunt-legacy-util": "~0.1.2",
"grunt-legacy-log": "~0.1.0"
},
"devDependencies": {
"temporary": "~0.0.4",
Expand Down
2 changes: 2 additions & 0 deletions test/grunt/log_test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TODO: REMOVE ALL NON-OPTION RELATED TESTS

'use strict';

var grunt = require('../../lib/grunt');
Expand Down

0 comments on commit 0149291

Please sign in to comment.