UNPKG

pomy

Version:

Based on the concept of a project object model (POM), POMY can manage a project's build, reporting and documentation from a central piece of information.

22 lines (17 loc) 500 B
'use strict'; var gutil = require('gulp-util'), prettyHrtime = require('pretty-hrtime'), startTime = void 0; module.exports = { start: function() { startTime = process.hrtime(); gutil.log('Running', gutil.colors.green('bundle') + '...'); }, end: function() { var prettyTime, taskTime; taskTime = process.hrtime(startTime); prettyTime = prettyHrtime(taskTime); gutil.log('Finished', gutil.colors.green('bundle'), 'in', gutil.colors.magenta(prettyTime)); } };