<commit_before>require('shelljs/make');
require('shelljs/global');

var fs      = require('fs')
  , path = require('path')
  , browserify = require('browserify')
  , UglifyJS = require("uglify-js")
  , less = require('less')
  ;

var buildPath = path.join(__dirname, 'build/socialfeed.js')
  , minifiedPath = path.join(__dirname, 'build/socialfeed.min.js');

target.all = function () {
  target.bundle(function () {
    target.less(function () {
      target.minify();
    });
  });
};

target.bundle = function (cb) {
  console.log('Bundle');
  bundleResources('src/moduletemplates/', 'src/resources.js');
  bundle(cb);
};

target.less = function (cb) {
  console.log('Compiling LESS');
  var data = cat('src/style.less');
<commit_msg>Added build resources as a make operation<commit_after>require('shelljs/make');
require('shelljs/global');

var fs      = require('fs')
  , path = require('path')
  , browserify = require('browserify')
  , UglifyJS = require("uglify-js")
  , less = require('less')
  ;

var buildPath = path.join(__dirname, 'build/socialfeed.js')
  , minifiedPath = path.join(__dirname, 'build/socialfeed.min.js');

target.all = function () {
  target.bundle(function () {
    target.less(function () {
      target.minify();
    });
  });
};

target.bundle = function (cb) {
  console.log('Bundle');
  bundleResources('src/moduletemplates/', 'src/resources.js');
  bundle(cb);
};

target.resources = function () {
  bundleResources('src/moduletemplates/', 'src/resources.js');
};

target.less = function (cb) {
  console.log('Compiling LESS');
  var data = cat('src/style.less');

{'fraction_non_alphanumeric': 0.188125, 'fraction_numerical': 0.0, 'mean_word_length': 4.181229773462783, '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': '2284617', 'n_tokens_mistral': 536, 'n_tokens_neox': 538, 'n_words': 90}