mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Add logging of longest builder paths
This commit is contained in:
@@ -3,6 +3,8 @@ var files = require('./files.js');
|
||||
var NpmDiscards = require('./npm-discards.js');
|
||||
var _ = require('underscore');
|
||||
|
||||
var longest = 0;
|
||||
|
||||
// Builder encapsulates much of the file-handling logic need to create
|
||||
// "bundles" (directory trees such as site archives, programs, or
|
||||
// packages). It can create a temporary directory in which to build
|
||||
@@ -179,6 +181,12 @@ _.extend(Builder.prototype, {
|
||||
|
||||
self._ensureDirectory(files.pathDirname(relPath));
|
||||
var absPath = files.pathJoin(self.buildPath, relPath);
|
||||
|
||||
if(absPath.length > longest) {
|
||||
longest = absPath.length;
|
||||
console.log(longest, absPath);
|
||||
}
|
||||
|
||||
if (options.symlink) {
|
||||
files.symlink(options.symlink, absPath);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user