<commit_before>"use strict";

var gulp = require('gulp');
var npdcGulp = require('npdc-gulp');
var runSequence = require('run-sequence');
var sass = require('gulp-sass');
var cssGlobbing = require('gulp-css-globbing');
var es = require('event-stream');
var concat = require('gulp-concat');
var notify = require('gulp-notify');
var watch = require('gulp-watch');
var changed = require('gulp-changed');
var gulpif = require('gulp-if');
var git = require('gulp-git');
var rename = require('gulp-rename');
var minifyCss = require('gulp-minify-css');
var sourcemaps = require('gulp-sourcemaps');

var baseConfig = npdcGulp.baseConfig;
var config = {
  deps: {
    css: [
      process.cwd() + '/' + baseConfig.deps.root+'/angular-material/angular-material.css',
      process.cwd() + '/' + baseConfig.deps.root+'/jusas-angularjs-slider/dist/rzslider.css'
    ].concat(baseConfig.deps.css)
  },
  dist: {
    approot: baseConfig.dist.root + '/demo',
    bundleName: 'demos.js',
    assets: baseConfig.dist.root + '/assets'
  },
  src: {
    app: baseConfig.src.root+'/**/*Demo.js',
    sassMain: [baseConfig.src.root+'/main.scss'],
    sassAll: [baseConfig.src.root+'/**/*.scss'],
    html: [baseConfig.src.root+'/**/index.html'],
    config: []
  },
  dirListings: true,
  templateRoot: 'npdc-common/src'
};
npdcGulp.loadModuleTasks(gulp, config);

gulp.task('sass', function (cb) {
  git.revParse({
    args: '--abbrev-ref HEAD', quiet: true
  }, function(err, ref) {
    var vendorFiles = gulp.src(config.deps.css);
    var compiledFiles = gulp.src(config.src.sassMain)
      .pipe(cssGlobbing({extensions: ['.scss']}))
      .pipe(sourcemaps.init())<commit_msg>Debug logging sass build<commit_after>"use strict";

var gulp = require('gulp');
var npdcGulp = require('npdc-gulp');
var runSequence = require('run-sequence');
var sass = require('gulp-sass');
var cssGlobbing = require('gulp-css-globbing');
var es = require('event-stream');
var concat = require('gulp-concat');
var notify = require('gulp-notify');
var watch = require('gulp-watch');
var changed = require('gulp-changed');
var gulpif = require('gulp-if');
var git = require('gulp-git');
var rename = require('gulp-rename');
var minifyCss = require('gulp-minify-css');
var sourcemaps = require('gulp-sourcemaps');

var baseConfig = npdcGulp.baseConfig;
var config = {
  deps: {
    css: [
      process.cwd() + '/' + baseConfig.deps.root+'/angular-material/angular-material.css',
      process.cwd() + '/' + baseConfig.deps.root+'/jusas-angularjs-slider/dist/rzslider.css'
    ].concat(baseConfig.deps.css)
  },
  dist: {
    approot: baseConfig.dist.root + '/demo',
    bundleName: 'demos.js',
    assets: baseConfig.dist.root + '/assets'
  },
  src: {
    app: baseConfig.src.root+'/**/*Demo.js',
    sassMain: [baseConfig.src.root+'/main.scss'],
    sassAll: [baseConfig.src.root+'/**/*.scss'],
    html: [baseConfig.src.root+'/**/index.html'],
    config: []
  },
  dirListings: true,
  templateRoot: 'npdc-common/src'
};
npdcGulp.loadModuleTasks(gulp, config);

gulp.task('sass', function (cb) {
  console.log('conf', config.deps.css);
  git.revParse({
    args: '--abbrev-ref HEAD', quiet: true
  }, function(err, ref) {
    var vendorFiles = gulp.src(config.deps.css);
    var compiledFiles = gulp.src(config.src.sassMain)
      .pipe(cssGlobbing({extensions: ['.scss']}))
      .pipe(sourcemaps.init())
{'fraction_non_alphanumeric': 0.19382606114574058, 'fraction_numerical': 0.0, 'mean_word_length': 4.098335854765507, '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': '166655', 'n_tokens_mistral': 1220, 'n_tokens_neox': 1219, 'n_words': 212}