<commit_before>var gulp = require('gulp'),
	gulpPlugins = require('auto-plug')('gulp');

/* Clean up generated files (useful for development) */
gulp.task('clear', function()
{
    return gulp.src([
			'./app/Http/Controllers/*.php', // Controllers
			'./database/migrations/*.php', // Migrations
			'./app/*.php', // Models
			'./app/Http/routes.php', // Routes
			// Views
			'./resources/views/**/**/*.php',
			'./resources/views/**/**/*'
		], { read: false })
        .pipe( gulpPlugins.rm() )
});<commit_msg>Split up clear task into subtasks<commit_after>var gulp = require('gulp'),
	gulpPlugins = require('auto-plug')('gulp');

/* Clean up generated files (useful for development) */
gulp.task('clear', ['clear-controllers', 'clear-migrations', 'clear-models', 'clear-routes', 'clear-views'], function() {
    return;
});

// Clear controllers
gulp.task('clear-controllers', function() {
	return gulp.src(['./app/Http/Controllers/*.php'], { read: false }).pipe( gulpPlugins.rm() );
});

// Clear migrations
gulp.task('clear-migrations', function() {
	return gulp.src(['./database/migrations/*.php'], { read: false }).pipe( gulpPlugins.rm() );
});

// Clear models
gulp.task('clear-models', function() {
	return gulp.src(['./app/*.php'], { read: false }).pipe( gulpPlugins.rm() );
});

// Clear routes
gulp.task('clear-routes', function() {
	return gulp.src(['./app/Http/routes.php'], { read: false }).pipe( gulpPlugins.rm() );
});

// Clear views
gulp.task('clear-views', function() {
	return gulp.src(['./resources/views/**/**/*.php', './resources/views/**/**/*'], { read: false }).pipe( gulpPlugins.rm() );
});
{'fraction_non_alphanumeric': 0.24351050679851668, 'fraction_numerical': 0.0, 'mean_word_length': 3.8765060240963853, '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': '5581486', 'n_tokens_mistral': 565, 'n_tokens_neox': 558, 'n_words': 107}