<commit_before>'use strict';

var gulp = require('gulp'),
	print = require('gulp-print'),
	gutil = require('gulp-util'),
	shell = require('gulp-shell'),
	del = require("del"),
	fs = require('fs'),
	path = require('path'),
	_ = require('lodash'),
	template = require('string-template'),
	runSequence = require('run-sequence')
;

var params = gutil.env;
var GulpConfig = require('./gulpconfig');

// Call gulp --env=staging to load environment specific config
var Config = _.merge(GulpConfig, GulpConfig[params.env]);

gulp.task('default', function () {
	console.log('This is the GULP Config: ');
	console.log(Config);
	console.log(params);
});

gulp.task('make', function () {
	return gulp.src('')
		.pipe(shell('mvn package -DskipTests=true', {quiet: params.silent}));
});

gulp.task('felix:up', ['felix:clean-cache'], shell.task([template('java -jar bin/felix.jar')], {
	cwd: 'felix'
}));

gulp.task('felix:clean-cache',  function (cb) {
	del('felix/felix-cache/**/*', {force: true}, cb);
});<commit_msg>added new gulp task "make:up"<commit_after>'use strict';

var gulp = require('gulp'),
	print = require('gulp-print'),
	gutil = require('gulp-util'),
	shell = require('gulp-shell'),
	del = require("del"),
	fs = require('fs'),
	path = require('path'),
	_ = require('lodash'),
	template = require('string-template'),
	runSequence = require('run-sequence')
;

var params = gutil.env;
var GulpConfig = require('./gulpconfig');

// Call gulp --env=staging to load environment specific config
var Config = _.merge(GulpConfig, GulpConfig[params.env]);

gulp.task('default', function () {
	console.log('This is the GULP Config: ');
	console.log(Config);
	console.log(params);
});

gulp.task('make:up', function (callback) {
	runSequence(
		'emake',
		'felix:up',
		callback)
});

gulp.task('make', function () {
	return gulp.src('')
		.pipe(shell('mvn package -DskipTests=true', {quiet: params.silent}));
});

gulp.task('felix:up', ['felix:clean-cache'], shell.task([template('java -jar bin/felix.jar')], {
	cwd: 'felix'
}));

gulp.task('felix:clean-cache',  function (cb) {
	del('felix/felix-cache/**/*', {force: true}, cb);
});
{'fraction_non_alphanumeric': 0.21458823529411764, 'fraction_numerical': 0.0, 'mean_word_length': 5.271386430678466, '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': '6144711', 'n_tokens_mistral': 774, 'n_tokens_neox': 764, 'n_words': 155}