<commit_before>#!/bin/bash

set -e

#-------------------------------------------------------------------------------
usage() {
 echo
 echo "Usage: build.sh [-d] [-c] [-l] [-h]"
 echo
 echo "-d: install build dependencies (bower, grunt)"
 echo "-c: clean build"
 echo "-l: preserve main.js"
 echo "-h: prints this help"
}

clean() {
    rm -rf dist node_modules bower_components
}

dependencies() {
    npm install bower
    npm install grunt
    npm install grunt-cli<commit_msg>M #-: Fix to grunt<1.1.0 (#4370)<commit_after>#!/bin/bash

set -e

#-------------------------------------------------------------------------------
usage() {
 echo
 echo "Usage: build.sh [-d] [-c] [-l] [-h]"
 echo
 echo "-d: install build dependencies (bower, grunt)"
 echo "-c: clean build"
 echo "-l: preserve main.js"
 echo "-h: prints this help"
}

clean() {
    rm -rf dist node_modules bower_components
}

dependencies() {
    npm install bower
    npm install 'grunt@<1.1.0'
    npm install grunt-cli
{'fraction_non_alphanumeric': 0.29310344827586204, 'fraction_numerical': 0.010141987829614604, 'mean_word_length': 1.734072022160665, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5082184', 'n_tokens_mistral': 322, 'n_tokens_neox': 303, 'n_words': 101}