<commit_before>'use strict';

var gulp = require('gulp');
var chug = require( 'gulp-chug' );
var shell = require('gulp-shell');
var del = require('del');

gulp.task( 'client', function () {
    gulp.src( './dontforget-client/gulpfile.js' )
        .pipe( chug( {
            tasks:  [ 'default' ],
        } ) );
} );

gulp.task('server_cleanPublic', function (done) {
	del('./dontforget-server/public/**/*', done);
});
gulp.task('server_copyPublic', ['client', 'server_cleanPublic'], function (done) {
	return gulp.src(['./dontforget-client/dist/**/*', './dontforget-client/dist/**/.*'])
		.pipe(gulp.dest('./dontforget-server/public'));
});

gulp.task('server_build', ['server_copyPublic'], shell.task('activator test dist', {cwd : 'dontforget-server'}));<commit_msg>Add options to gulp-chug to clean logs<commit_after>'use strict';

var gulp = require('gulp');
var chug = require( 'gulp-chug' );
var shell = require('gulp-shell');
var del = require('del');

gulp.task( 'client', function () {
    return gulp.src( './dontforget-client/gulpfile.js' )
        .pipe( chug( {
            tasks:  [ 'default' ],
			logPackage : false,
			logScript : false,
			removeDate : true,
			removeLineBreaks : true
        } ) );
} );

gulp.task('server_cleanPublic', function (done) {
	del('./dontforget-server/public/**/*', done);
});
gulp.task('server_copyPublic', ['client', 'server_cleanPublic'], function (done) {
	return gulp.src(['./dontforget-client/dist/**/*', './dontforget-client/dist/**/.*'])
		.pipe(gulp.dest('./dontforget-server/public'));
});

gulp.task('server_build', ['server_copyPublic'], shell.task('activator test dist', {cwd : 'dontforget-server'}));
{'fraction_non_alphanumeric': 0.21875, 'fraction_numerical': 0.0, 'mean_word_length': 4.091743119266055, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6381485', 'n_tokens_mistral': 595, 'n_tokens_neox': 586, 'n_words': 104}