<commit_before>module.exports = function(grunt) {
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),


    // ===========================
    // LESS Task
    // ===========================
    less: {
      development: {
        options: {
          paths: ["assets/css"]
        },
        files: {
          "css/powertocss.css": "@dev/css/powertocss.less",
          "css/standard-theme.css": "@dev/css/standard-theme.less",
          "@dev/starter-kit/css/powertocss.css": "@dev/css/powertocss.less",
          //"@dev/starter-kit/css/standard-theme.css": "@dev/css/standard-theme.less",
          "@dev/starter-kit/css/your-theme.css": "@dev/css/your-theme.less",
        }
      },
      production: {
        options: {
          paths: ["assets/css"],
          cleancss: true,
          compress: true,
          ieCompat: true,
          modifyVars: {
            imgPath: '"http://mycdn.com/path/to/images"',
            bgColor: 'red'
          }
        },
        files: {
          "css/powertocss.min.css": "@dev/css/powertocss.less",
          "css/standard-theme.min.css": "@dev/css/standard-theme.less",
          "@dev/starter-kit/css/powertocss.min.css": "@dev/css/powertocss.less",
          //"@dev/starter-kit/css/standard-theme.min.css": "@dev/css/standard-theme.less",
        }
      }
    },

    // ===================================
    // Harp Task - run separatly with "grunt harp"
    // ===================================
    harp: {
      server: {
        server: true, //Comment this to compile and uncomment to run the server
        source: '@dev'
      },
      dist: {
        source: '@dev',
        dest: 'build'
      }
    },

    // ==================================
    // Copy Task
    // will copy the less files to the Starter Kit
    // ==================================
    copy: {
      main: {
        expand: true, cwd: '@dev/css/', src: ['**'], dest: '@dev/starter-kit/less'
      },
    },

    // =======================================
    // compress Task
    // =======================================
    compress: {
      main: {
        options: {
          archive: '@dev/starter-kit.zip'
        },
        files: [
          //{src: ['starter-kit/*'], dest: 'internal_folder/', filter: 'isFile'}, // includes files in path
          //{src: ['starter-kit/**'], dest: 'internal_folder2/'}, // includes files in path and its subdirs
          //{expand: true, cwd: 'starter-kit/', src: ['**'], dest: 'internal_folder3/'}, // makes all src relative to cwd
          {expand: true, cwd: '@dev/starter-kit/', src: ['**'], dest: './'}, // makes all src relative to cwd
          //{flatten: true, src: ['@dev/starter-kit/**'], dest: '/', filter: 'isFile'} // flattens results to a single level
        ]
      }
    },

    // ===================================
    // Watch Task
    // it will watch the LESS files
    // ===================================
    watch: {
        files: ("@dev/css/powertocss.less", "@dev/css/standard-theme.less", "@dev/css/your-theme.less"), // this is the less path
        files: ("@dev/starter-kit/**"), // watch files to compress
        files: ("@dev/css/**"), // watch files to copy
        tasks: ["less", "compress", "copy"]
    },

  });


  grunt.loadNpmTasks('grunt-contrib-less');
  grunt.loadNpmTasks('grunt-harp');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.loadNpmTasks('grunt-contrib-copy');
  grunt.loadNpmTasks('grunt-contrib-compress');

  grunt.registerTask('default', [ 'less', 'copy', 'compress', 'watch' ]);
};
<commit_msg>Build by default instead of running the server<commit_after>module.exports = function(grunt) {
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),


    // ===========================
    // LESS Task
    // ===========================
    less: {
      development: {
        options: {
          paths: ["assets/css"]
        },
        files: {
          "css/powertocss.css": "@dev/css/powertocss.less",
          "css/standard-theme.css": "@dev/css/standard-theme.less",
          "@dev/starter-kit/css/powertocss.css": "@dev/css/powertocss.less",
          //"@dev/starter-kit/css/standard-theme.css": "@dev/css/standard-theme.less",
          "@dev/starter-kit/css/your-theme.css": "@dev/css/your-theme.less",
        }
      },
      production: {
        options: {
          paths: ["assets/css"],
          cleancss: true,
          compress: true,
          ieCompat: true,
          modifyVars: {
            imgPath: '"http://mycdn.com/path/to/images"',
            bgColor: 'red'
          }
        },
        files: {
          "css/powertocss.min.css": "@dev/css/powertocss.less",
          "css/standard-theme.min.css": "@dev/css/standard-theme.less",
          "@dev/starter-kit/css/powertocss.min.css": "@dev/css/powertocss.less",
          //"@dev/starter-kit/css/standard-theme.min.css": "@dev/css/standard-theme.less",
        }
      }
    },

    // ===================================
    // Harp Task - run separatly with "grunt harp"
    // ===================================
    harp: {
      server: {
        //server: true, //Comment this to compile and uncomment to run the server
        source: '@dev'
      },
      dist: {
        source: '@dev',
        dest: 'build'
      }
    },

    // ==================================
    // Copy Task
    // will copy the less files to the Starter Kit
    // ==================================
    copy: {
      main: {
        expand: true, cwd: '@dev/css/', src: ['**'], dest: '@dev/starter-kit/less'
      },
    },

    // =======================================
    // compress Task
    // =======================================
    compress: {
      main: {
        options: {
          archive: '@dev/starter-kit.zip'
        },
        files: [
          //{src: ['starter-kit/*'], dest: 'internal_folder/', filter: 'isFile'}, // includes files in path
          //{src: ['starter-kit/**'], dest: 'internal_folder2/'}, // includes files in path and its subdirs
          //{expand: true, cwd: 'starter-kit/', src: ['**'], dest: 'internal_folder3/'}, // makes all src relative to cwd
          {expand: true, cwd: '@dev/starter-kit/', src: ['**'], dest: './'}, // makes all src relative to cwd
          //{flatten: true, src: ['@dev/starter-kit/**'], dest: '/', filter: 'isFile'} // flattens results to a single level
        ]
      }
    },

    // ===================================
    // Watch Task
    // it will watch the LESS files
    // ===================================
    watch: {
        files: ("@dev/css/powertocss.less", "@dev/css/standard-theme.less", "@dev/css/your-theme.less"), // this is the less path
        files: ("@dev/starter-kit/**"), // watch files to compress
        files: ("@dev/css/**"), // watch files to copy
        tasks: ["less", "compress", "copy"]
    },

  });


  grunt.loadNpmTasks('grunt-contrib-less');
  grunt.loadNpmTasks('grunt-harp');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.loadNpmTasks('grunt-contrib-copy');
  grunt.loadNpmTasks('grunt-contrib-compress');

  grunt.registerTask('default', [ 'less', 'copy', 'compress', 'watch' ]);
};

{'fraction_non_alphanumeric': 0.2641614474599861, 'fraction_numerical': 0.0005567153792623522, 'mean_word_length': 2.1937777777777776, 'pattern_counts': {'":': 18, '<': 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': '2699496', 'n_tokens_mistral': 2263, 'n_tokens_neox': 2188, 'n_words': 419}