<commit_before>#!/usr/bin/env bash
set -e
source .config/build
source $SCRIPTS_FOLDER/util.sh

# replace @ASSET_HASH in files of the following folder
egrep -lRZ "@ASSET_HASH" $ASSET_HASH_TEMPLATE_REPLACE_PATH  | xargs --null sed -i "s/@ASSET_HASH/$ASSET_HASH/g"

callRecipeEvent $RECIPE "build.post"

exit 0<commit_msg>Check asset hash template replace path<commit_after>#!/usr/bin/env bash
set -e
source .config/build
source $SCRIPTS_FOLDER/util.sh

# replace @ASSET_HASH in files of the following folder
if [ ! -z $ASSET_HASH_TEMPLATE_REPLACE_PATH ]; then
    egrep -lRZ "@ASSET_HASH" $ASSET_HASH_TEMPLATE_REPLACE_PATH | xargs --null sed -i "s/@ASSET_HASH/$ASSET_HASH/g"
fi

callRecipeEvent $RECIPE "build.post"

exit 0
{'fraction_non_alphanumeric': 0.10818307905686546, 'fraction_numerical': 0.0027739251040221915, 'mean_word_length': 5.016666666666667, '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': '7453940', 'n_tokens_mistral': 302, 'n_tokens_neox': 293, 'n_words': 69}