const gue = require('./index.js');

gue.task('default', ['lint','test']);

gue.task('test', () => {
  return gue.shell('nyc mocha test/**/*.test.js');
});

gue.task('lint', () => {
  return gue.shell('jscs index.js bin/gue.js lib/Util.js');
});

gue.task('docs', () => {
  var command = '/bin/rm -f README.md';
  command += '&& jsdoc2md --example-lang js --template docs/readme.hbs ';
  command += '--partial docs/scope.hbs --separators --files index.js';
  command += '> README.md';

  return gue.shell(command);
});

gue.task('clean', () => {
  return gue.shell('rm -rf node_modules');
});

const gue = require('./index.js');

gue.task('default', ['lint','test']);

gue.task('test', ['clean'], () => {
  return gue.shell('nyc --reporter lcov --reporter text ' +
  'mocha test/**/*.test.js');
});

gue.task('lint', () => {
  return gue.shell('jscs index.js bin/gue.js lib/Util.js');
});

gue.task('docs', () => {
  var command = '/bin/rm -f README.md';
  command += '&& jsdoc2md --example-lang js --template docs/readme.hbs ';
  command += '--partial docs/scope.hbs --separators --files index.js';
  command += '> README.md';

  return gue.shell(command);
});

gue.task('clean', () => {
  return gue.shell('rm -rf coverage .nyc_output');
});

Improve clean task / save lcov data
Improve clean task / save lcov data
