<commit_before>//////////////////////////////////////////////////

// Gulp
var gulp = require('gulp');

// Plugins
var $ = require('gulp-load-plugins')();

// Helpers
var stream = require('event-stream');

// CONFIGURATION /////////////////////////////////

var config = {
	plugin: {
		recess: {
			strictPropertyOrder: false,
			prefixWhitespace: false
		},
		jshint: {

		},
		imagemin: {
			optimizationLevel: 7,
			progressive: true,
			interlaced: true
		},
		svgsprites: {
			className: '.icon-%f',
			cssFile: '../../style/sprite.css',
			svgPath: '../image/sprite/%f',
			pngPath: '../image/sprite/%f',
			svg: {
				sprite: 'sprite.svg',
				defs: 'sprite.svg'
			}
		},
		bump: {
			type: ($.util.env.major && 'major') || ($.util.env.minor && 'minor') || 'patch'
		}
	}
};

// TASKS /////////////////////////////////////////

// Styles
gulp.task('styles', function() {
	return gulp.src('application/static/style/*.scss')
		.pipe($.include())
		.pipe($.sass())
		.pipe($.util.env.production ? $.csso() : $.util.noop())
		.pipe(gulp.dest('public/static/style/'));
});

// Scripts<commit_msg>Add padding to generated sprites<commit_after>//////////////////////////////////////////////////

// Gulp
var gulp = require('gulp');

// Plugins
var $ = require('gulp-load-plugins')();

// Helpers
var stream = require('event-stream');

// CONFIGURATION /////////////////////////////////

var config = {
	plugin: {
		recess: {
			strictPropertyOrder: false,
			prefixWhitespace: false
		},
		jshint: {

		},
		imagemin: {
			optimizationLevel: 7,
			progressive: true,
			interlaced: true
		},
		svgsprites: {
			className: '.icon-%f',
			cssFile: '../../style/sprite.css',
			svgPath: '../image/sprite/%f',
			pngPath: '../image/sprite/%f',
			svg: {
				sprite: 'sprite.svg',
				defs: 'sprite.svg'
			},
			padding: 1
		},
		bump: {
			type: ($.util.env.major && 'major') || ($.util.env.minor && 'minor') || 'patch'
		}
	}
};

// TASKS /////////////////////////////////////////

// Styles
gulp.task('styles', function() {
	return gulp.src('application/static/style/*.scss')
		.pipe($.include())
		.pipe($.sass())
		.pipe($.util.env.production ? $.csso() : $.util.noop())
		.pipe(gulp.dest('public/static/style/'));
});

// Scripts
{'fraction_non_alphanumeric': 0.30734767025089604, 'fraction_numerical': 0.0013440860215053765, 'mean_word_length': 1.938157894736842, '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': '703297', 'n_tokens_mistral': 873, 'n_tokens_neox': 768, 'n_words': 131}