<commit_before>"use strict";

/* VARS */
var gulp = require('gulp');
var minify = require('gulp-minify');
var sequence = require('gulp-sequence');
var clean = require('gulp-clean');
var sass = require('gulp-sass');
var concat = require('gulp-concat');
/* VARS */

/* CONSTS */
const CSS_DIR = "./css";
const JS_DIR = "./js";
const SASS_DIR = "./sass";
/* CONSTS */
 
/* TASKS */

	/* CSS */
	gulp.task('clean-css', function() {
	  return gulp.src([CSS_DIR + "/*.css", "!" + CSS_DIR + "/*.min.css"], {read: false})
		.pipe(clean());
	});
	gulp.task('clean-min-css', function() {
	  return gulp.src(CSS_DIR + "/*.min.css", {read: false})
		.pipe(clean());
	});
	
		/* SASS */
		gulp.task('sass', function () {
		  return gulp.src(SASS_DIR + "/*.scss")
			.pipe(sass().on('error', sass.logError))
			.pipe(gulp.dest(CSS_DIR));
		});
		/* SASS */

	gulp.task("build-css", ["sass"]);
	gulp.task("clean-build-css", sequence(["clean-css", "clean-min-css", "build-css"]));
	/* CSS */

	/* JS */
	gulp.task('clean-js', function() {
	  return gulp.src(JS_DIR + "/*.min.js", {read: false})
		.pipe(clean());
	});
	
	gulp.task('minify-js', function() {
	  return gulp.src([JS_DIR + "/*.js", "!" + JS_DIR + "/*.min.js"])
		.pipe(minify({
			ext: {<commit_msg>Add 'all-in-one-css task'<commit_after>"use strict";

/* VARS */
var gulp = require('gulp');
var minify = require('gulp-minify');
var sequence = require('gulp-sequence');
var clean = require('gulp-clean');
var sass = require('gulp-sass');
var concat = require('gulp-concat');
/* VARS */

/* CONSTS */
const CSS_DIR = "./css";
const JS_DIR = "./js";
const SASS_DIR = "./sass";
/* CONSTS */
 
/* TASKS */

	/* CSS */
	gulp.task('clean-css', function() {
	  return gulp.src([CSS_DIR + "/*.css", "!" + CSS_DIR + "/*.min.css"], {read: false})
		.pipe(clean());
	});
	gulp.task('clean-min-css', function() {
	  return gulp.src(CSS_DIR + "/*.min.css", {read: false})
		.pipe(clean());
	});
	
	gulp.task('all-in-one-css', function() {
	  return gulp.src([CSS_DIR + "/*.min.css", "!" + CSS_DIR + "/all.min.css"])
		.pipe(concat('all.min.css'))
		.pipe(gulp.dest(CSS_DIR));
	});

	
		/* SASS */
		gulp.task('sass', function () {
		  return gulp.src(SASS_DIR + "/*.scss")
			.pipe(sass().on('error', sass.logError))
			.pipe(gulp.dest(CSS_DIR));
		});
		/* SASS */

	gulp.task("build-css", sequence(["sass", "all-in-one-css"]));
	gulp.task("clean-build-css", sequence(["clean-css", "clean-min-css", "build-css"]));
	/* CSS */

	/* JS */
	gulp.task('clean-js', function() {
	  return gulp.src(JS_DIR + "/*.min.js", {read: false})
		.pipe(clean());
	});
	
	gulp.task('minify-js', function() {
	  return gulp.src([JS_DIR + "/*.js", "!" + JS_DIR + "/*.min.js"])
		.pipe(minify({
			ext: {
{'fraction_non_alphanumeric': 0.26627436557557926, 'fraction_numerical': 0.0, 'mean_word_length': 3.3800322061191626, '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': '5027263', 'n_tokens_mistral': 1167, 'n_tokens_neox': 1097, 'n_words': 188}