<commit_before>/*
 * Generated on 2014-02-05
 * generator-assemble v0.4.8
 * https://github.com/assemble/generator-assemble
 *
 * Copyright (c) 2014 <NAME>
 * Licensed under the MIT license.
 */

'use strict';

// # Globbing
// for performance reasons we're only matching one level down:
// '<%= config.src %>/templates/pages/{,*/}*.hbs'
// use this if you want to match all subfolders:
// '<%= config.src %>/templates/pages/**/*.hbs'

module.exports = function(grunt) {

  require('time-grunt')(grunt);

  // Project configuration.
  grunt.initConfig({

    config: {
      src: 'source',
      dist: 'build'
    },

    watch: {
      assemble: {
        files: ['<%= config.src %>/{content,data,templates,assets}/{,*/}*.{md,hbs,yml,sass,scss,js}'],
        tasks: ['assemble', 'sass', 'copy']
      },
      livereload: {
        options: {
          livereload: '<%= connect.options.livereload %>'
        },
        files: [
          '<%= config.dist %>/{,*/}*.html',
          '<%= config.dist %>/assets/{,*/}*.css',
          '<%= config.dist %>/assets/{,*/}*.js',
          '<%= config.dist %>/assets/{,*/}*.{png,jpg,jpeg,gif,webp,svg}'
        ]
      }
    },

    connect: {
      options: {
        port: 9000,
        livereload: 35729,
        // change this to '0.0.0.0' to access the server from outside
        hostname: 'localhost'
      },
      livereload: {
        options: {
          open: true,
          base: [
            '<%= config.dist %>'
          ]
        }
      }
    },

    sass: {
      dist: {
        files: [{
          expand: true,
          cwd: '<%= config.src %>/assets/styles',
          src: ['*.scss', '*.sass'],
          dest: '<%= config.dist %>/assets/css',
          ext: '.css'
        }]
      }
    },

    copy: {
      main: {
        files: [
          // Copy any vanilla CSS files included in the style source
          {expand: true, cwd: '<%= config.src %>/assets/styles', src: ['**', '!*.scss', '!*.sass'], dest: '<%= config.dist %>/assets/css'},

          // Copy any images
          {expand: true, cwd: '<%= config.src %>/content', src: ['*.jpg', '*.png', '*.jpeg'], dest: '<%= config.dist %>/'},

          // Copy any vanilla JS files included in the script source
          {expand: true, cwd: '<%= config.src %>/assets/scripts', src: ['**', '!*.coffee'], dest: '<%= config.dist %>/assets/js'}
        ]
      }
    },

    assemble: {<commit_msg>more cool shit with the grunt file.<commit_after>/*
 * Generated on 2014-02-05
 * generator-assemble v0.4.8
 * https://github.com/assemble/generator-assemble
 *
 * Copyright (c) 2014 <NAME>
 * Licensed under the MIT license.
 */

'use strict';

// # Globbing
// for performance reasons we're only matching one level down:
// '<%= config.src %>/templates/pages/{,*/}*.hbs'
// use this if you want to match all subfolders:
// '<%= config.src %>/templates/pages/**/*.hbs'

module.exports = function(grunt) {

  require('time-grunt')(grunt);

  // Project configuration.
  grunt.initConfig({

    config: {
      src: 'source',
      dist: 'build',
      stylesPath:'<%= config.dist %>/assets/css',
      scriptsPath:'<%= config.dist %>/assets/js'
    },

    watch: {
      assemble: {
        files: ['<%= config.src %>/{content,data,templates,assets}/{,*/}*.{md,hbs,yml,sass,scss,js}'],
        tasks: ['assemble', 'sass', 'copy']
      },
      livereload: {
        options: {
          livereload: '<%= connect.options.livereload %>'
        },
        files: [
          '<%= config.dist %>/{,*/}*.html',
          '<%= config.dist %>/assets/{,*/}*.css',
          '<%= config.dist %>/assets/{,*/}*.js',
          '<%= config.dist %>/assets/{,*/}*.{png,jpg,jpeg,gif,webp,svg}'
        ]
      }
    },

    connect: {
      options: {
        port: 9000,
        livereload: 35729,
        // change this to '0.0.0.0' to access the server from outside
        hostname: 'localhost'
      },
      livereload: {
        options: {
          open: true,
          base: [
            '<%= config.dist %>'
          ]
        }
      }
    },

    sass: {
      dist: {
        files: [{
          expand: true,
          cwd: '<%= config.src %>/assets/styles',
          src: ['*.scss', '*.sass'],
          dest: '<%= config.dist %>/assets/css',
          ext: '.css'
        }]
      }
    },

    copy: {
      main: {
        files: [
          // Copy any vanilla CSS files included in the style source
          {expand: true, cwd: '<%= config.src %>/assets/styles', src: ['**', '!*.scss', '!*.sass'], dest: '<%= config.stylesPath %>'},

          // Copy any images
          {expand: true, cwd: '<%= config.src %>/content', src: ['*.jpg', '*.png', '*.jpeg'], dest: '<%= config.dist %>/'},

          // Copy any vanilla JS files included in the script source
          {expand: true, cwd: '<%= config.src %>/assets/scripts', src: ['**', '!*.coffee'], dest: '<%= config.scriptsPath %>'}
        ]
      }
    },

    assemble: {
{'fraction_non_alphanumeric': 0.20875352964905203, 'fraction_numerical': 0.011294876966518758, 'mean_word_length': 1.8898601398601398, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 1, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4385929', 'n_tokens_mistral': 1722, 'n_tokens_neox': 1607, 'n_words': 356}