<commit_before>#!/bin/bash

# should we download the latest google closure compiler?
if [ ! -f compiler.jar ]
then
    echo "Retrieving google closure compiler ..."
    wget http://dl.google.com/closure-compiler/compiler-latest.zip
    unzip compiler-latest.zip
    rm {README.md,COPYING,compiler-latest.zip}
fi

echo "Compiling Neon.js with google closure ..."
java -jar compiler.jar --js ../src/{neon.js,toe.js,glyph.js,renderengine.js,clef*.js,gui.js,ornament.js,page*.js,system*.js,../static/js/support/searchtree.min.js,nn/interaction.js,nn/nc.js,nn/neume*.js,nn/squarenote/custos*.js,nn/squarenote/division*.js,nn/squarenote/liberneumes.js,nn/squarenote/salzinneneumes.js,nn/squarenote/squarenote*.js,nn/cheironomic/cheironomic*.js,nn/cheironomic/hartkerneumes.js} --js_output_file ../static/js/neon.min.js
#../src/{*.js,nn/*.js,nn/squarenote/*.js,nn/cheironomic/*.js} --js_output_file ../static/js/neon.min.js
if [ -a ../static/js/neon.min.js ]; then
    echo "Built to static/js/neon.min.js"
fi<commit_msg>Fixed: closure build includes all JS files<commit_after>#!/bin/bash

# should we download the latest google closure compiler?
if [ ! -f compiler.jar ]
then
    echo "Retrieving google closure compiler ..."
    wget http://dl.google.com/closure-compiler/compiler-latest.zip
    unzip compiler-latest.zip
    rm {README.md,COPYING,compiler-latest.zip}
fi

echo "Compiling Neon.js with google closure ..."
java -jar compiler.jar --js ../src/{neon.js,toe.js,model.js,controller.js,view.js,glyph.js,renderengine.js,clef*.js,gui.js,ornament.js,page*.js,system*.js,../static/js/support/searchtree.min.js,nn/interaction.js,nn/nc.js,nn/neume*.js,nn/squarenote/custos*.js,nn/squarenote/division*.js,nn/squarenote/liberneumes.js,nn/squarenote/salzinneneumes.js,nn/squarenote/squarenote*.js,nn/cheironomic/cheironomic*.js,nn/cheironomic/hartkerneumes.js} --js_output_file ../static/js/neon.min.js
#../src/{*.js,nn/*.js,nn/squarenote/*.js,nn/cheironomic/*.js} --js_output_file ../static/js/neon.min.js
if [ -a ../static/js/neon.min.js ]; then
    echo "Built to static/js/neon.min.js"
fi
{'fraction_non_alphanumeric': 0.17863984674329503, 'fraction_numerical': 0.0, 'mean_word_length': 4.120098039215686, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2523195', 'n_tokens_mistral': 804, 'n_tokens_neox': 795, 'n_words': 105}