<commit_before>/*
 * Copyright (c) 2015, <NAME>. All rights reserved.
 * Copyrights licensed under the MIT License.
 * See the accompanying LICENSE file for terms.
 */

'use strict';

module.exports = function(grunt) {

  require('load-grunt-tasks')(grunt);

  grunt.initConfig({

    pkg: grunt.file.readJSON('package.json'),

    banner: '/*\n' +
      ' * Copyright (c) <%= new Date().getFullYear() %>, <%= pkg.author %>. All rights reserved.\n' +
      ' * Copyrights licensed under the <%= pkg.license %> License.\n' +
      ' * See the accompanying LICENSE file for terms.\n' +
      ' */\n',

    usebanner: {
      taskName: {
        options: {
          position: 'top',
          banner: '<%= banner %>',
          linebreak: true || false
        },
        files: {
          src: [ 'css/*.css' ]
        }
      }
    },

    clean: ['css/*'],

    postcss: {
      options: {
        processors: [
          require('postcss-import')(),
          require('postcss-discard-comments'),
          require('postcss-custom-properties')(),
          require('postcss-mixins')(),
          require('postcss-nested'),
          require('postcss-calc')(),
          require('postcss-media-minmax')(),
          require('postcss-custom-media')(),
          require('autoprefixer-core')({browsers: 'last 3 version'})
        ]
      },
      compile: {
        options: {
          // ToDo
        },
        src: 'src/main.css',
        dest: 'css/ltr.css'
      }
    },

    rtlcss: {
      'default': {
        dest: 'css/rtl.css',
        src: ['css/ltr.css']
      }
    },

    watch: {
      scss: {
        files: ['src/**/*.css'],
        tasks: ['clean', 'postcss', 'rtlcss', 'usebanner']
      }
    },

    cssmin: {
      css: {
        expand: true,
        cwd: 'css/',
        src: ['*.css', '!*.min.css'],
        dest: 'css/',
        ext: '.min.css'
      }
    }

  });

  grunt.registerTask('default', ['clean', 'postcss', 'rtlcss', 'cssmin', 'usebanner']);
  grunt.registerTask('init', ['watch']);

};
<commit_msg>updated watch target to css from scss<commit_after>/*
 * Copyright (c) 2015, <NAME>. All rights reserved.
 * Copyrights licensed under the MIT License.
 * See the accompanying LICENSE file for terms.
 */

'use strict';

module.exports = function(grunt) {

  require('load-grunt-tasks')(grunt);

  grunt.initConfig({

    pkg: grunt.file.readJSON('package.json'),

    banner: '/*\n' +
      ' * Copyright (c) <%= new Date().getFullYear() %>, <%= pkg.author %>. All rights reserved.\n' +
      ' * Copyrights licensed under the <%= pkg.license %> License.\n' +
      ' * See the accompanying LICENSE file for terms.\n' +
      ' */\n',

    usebanner: {
      taskName: {
        options: {
          position: 'top',
          banner: '<%= banner %>',
          linebreak: true || false
        },
        files: {
          src: [ 'css/*.css' ]
        }
      }
    },

    clean: ['css/*'],

    postcss: {
      options: {
        processors: [
          require('postcss-import')(),
          require('postcss-discard-comments'),
          require('postcss-custom-properties')(),
          require('postcss-mixins')(),
          require('postcss-nested'),
          require('postcss-calc')(),
          require('postcss-media-minmax')(),
          require('postcss-custom-media')(),
          require('autoprefixer-core')({browsers: 'last 3 version'})
        ]
      },
      compile: {
        options: {
          // ToDo
        },
        src: 'src/main.css',
        dest: 'css/ltr.css'
      }
    },

    rtlcss: {
      'default': {
        dest: 'css/rtl.css',
        src: ['css/ltr.css']
      }
    },

    watch: {
      css: {
        files: ['src/**/*.css'],
        tasks: ['clean', 'postcss', 'rtlcss', 'usebanner']
      }
    },

    cssmin: {
      css: {
        expand: true,
        cwd: 'css/',
        src: ['*.css', '!*.min.css'],
        dest: 'css/',
        ext: '.min.css'
      }
    }

  });

  grunt.registerTask('default', ['clean', 'postcss', 'rtlcss', 'cssmin', 'usebanner']);
  grunt.registerTask('init', ['watch']);

};

{'fraction_non_alphanumeric': 0.1900121802679659, 'fraction_numerical': 0.00243605359317905, 'mean_word_length': 1.83367839889579, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '2070395', 'n_tokens_mistral': 1373, 'n_tokens_neox': 1324, 'n_words': 258}