<commit_before>#!/bin/bash
set -ev

#-------------------------------------------------------------------------------
# Update npm
#-------------------------------------------------------------------------------
npm install -g npm

#-------------------------------------------------------------------------------
# Install yeoman, bower and gulp
#-------------------------------------------------------------------------------
npm install -g yo bower gulp-cli

#-------------------------------------------------------------------------------
# Install JHipster
#-------------------------------------------------------------------------------
git clone $JHIPSTER_REPO generator-jhipster
cd generator-jhipster
if [ "$JHIPSTER_BRANCH" == "latest" ]; then
    LATEST=$(git describe --abbrev=0)
    git checkout -b $LATEST $LATEST
elif [ "$JHIPSTER_BRANCH" != "master" ]; then
    git checkout -b $JHIPSTER_BRANCH $JHIPSTER_BRANCH
fi
git log --oneline -n 5
npm install
npm link<commit_msg>Remove display log [ci skip]<commit_after>#!/bin/bash
set -ev

#-------------------------------------------------------------------------------
# Update npm
#-------------------------------------------------------------------------------
npm install -g npm

#-------------------------------------------------------------------------------
# Install yeoman, bower and gulp
#-------------------------------------------------------------------------------
npm install -g yo bower gulp-cli

#-------------------------------------------------------------------------------
# Install JHipster
#-------------------------------------------------------------------------------
git clone $JHIPSTER_REPO generator-jhipster
cd generator-jhipster
if [ "$JHIPSTER_BRANCH" == "latest" ]; then
    LATEST=$(git describe --abbrev=0)
    git checkout -b $LATEST $LATEST
elif [ "$JHIPSTER_BRANCH" != "master" ]; then
    git checkout -b $JHIPSTER_BRANCH $JHIPSTER_BRANCH
fi
npm install
npm link
{'fraction_non_alphanumeric': 0.5449438202247191, 'fraction_numerical': 0.0015321756894790602, 'mean_word_length': 0.7019982623805386, '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': '7476881', 'n_tokens_mistral': 436, 'n_tokens_neox': 412, 'n_words': 116}