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.

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