<commit_before>#!/usr/bin/env bash

rm -rf public/*
mkdir -p public/{css,js,images}

# Concatenate files
cat {plugins/*/,}assets/{vendor/,}js/*.js > public/js/main.js 2>/dev/null
cat {plugins/*/,}assets/{vendor/,}css/*.css > public/css/main.css 2>/dev/null

# Create symbolic links to images
ln -s plugins/*/public/images/* public/images
ln -s assets/images/* public/images<commit_msg>Hard link image assets so router serves them<commit_after>#!/usr/bin/env bash

rm -rf public/*
mkdir -p public/{css,js,images}

# Concatenate files
cat {plugins/*/,}assets/{vendor/,}js/*.js > public/js/main.js 2>/dev/null
cat {plugins/*/,}assets/{vendor/,}css/*.css > public/css/main.css 2>/dev/null

# Create symbolic links to images
# ln -s plugins/*/public/images/* public/images
# ln -s assets/images/* public/images

ln plugins/*/public/images/* public/images
ln assets/images/* public/images
{'fraction_non_alphanumeric': 0.18253968253968253, 'fraction_numerical': 0.0045351473922902496, 'mean_word_length': 3.9887005649717513, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5132401', 'n_tokens_mistral': 318, 'n_tokens_neox': 299, 'n_words': 74}