<commit_before>#!/bin/bash

export YCMD_PATH="${HOME}/ycmd"

if [ ! -d "$YCMD_PATH/.git" ]; then
  git clone --depth=1 --recursive https://github.com/Valloric/ycmd ${YCMD_PATH}
fi

pushd ${YCMD_PATH}

git pull
git submodule update --init --recursive

export EXTRA_CMAKE_ARGS="-DCMAKE_CXX_COMPILER=/usr/lib/ccache/c++ -DCMAKE_C_COMPILER=/usr/lib/ccache/cc"
python build.py --clang-completer --gocode-completer --tern-completer

npm install -g typescript

popd<commit_msg>Added tern to the list of stuff we install.<commit_after>#!/bin/bash

export YCMD_PATH="${HOME}/ycmd"

if [ ! -d "$YCMD_PATH/.git" ]; then
  git clone --depth=1 --recursive https://github.com/Valloric/ycmd ${YCMD_PATH}
fi

pushd ${YCMD_PATH}

git pull
git submodule update --init --recursive

export EXTRA_CMAKE_ARGS="-DCMAKE_CXX_COMPILER=/usr/lib/ccache/c++ -DCMAKE_C_COMPILER=/usr/lib/ccache/cc"
python build.py --clang-completer --gocode-completer --tern-completer

npm install -g typescript
npm install -g tern

popd
{'fraction_non_alphanumeric': 0.1494949494949495, 'fraction_numerical': 0.00202020202020202, 'mean_word_length': 4.243386243386244, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7521206', 'n_tokens_mistral': 408, 'n_tokens_neox': 376, 'n_words': 83}