<commit_before>#!/bin/sh

echo "\n\nSetup Pattern Lab"
echo "=================\n"

# Clone Pattern Lab Scaffold
git clone https://github.com/dennisfrank/patternlab-scaffolding.git patternlab && \

# Initialize Pattern Lab Scaffold
cd patternlab/                                               && \
sh init                                                      && \
cd ..                                                        && \



echo "\n\nSetup Kirby"
echo "===========\n"

git clone https://github.com/getkirby/plainkit.git kirby    && \

# Delete no longer needed Kirby Git files and directories
rm kirby/.gitmodules                                        && \
rm -rf kirby/.git                                           && \

# Delete Kirby’s empty kirby and panel directories
# rm -rf kirby/kirby                                          && \
# rm -rf kirby/panel

# Get Git submodule(s)
git submodule update --init --recursive<commit_msg>Update init script<commit_after>#!/bin/sh

echo "\n\nSetup Pattern Lab"
echo "=================\n"

# Clone Pattern Lab Scaffold
git clone https://github.com/dennisfrank/patternlab-scaffolding.git patternlab && \

# Initialize Pattern Lab Scaffold
cd patternlab/ && \
sh init        && \
cd ..          && \

# Remove no longer needed project Git repository
rm -rf .git/       && \
rm -rf .gitmodules && \


echo "\n\nSetup Kirby"
echo "===========\n"

# Get Kirby Plainkit
git clone https://github.com/getkirby/plainkit.git kirby    && \

# Delete no longer needed Kirby Git files and directories
rm kirby/.gitmodules && \
rm -rf kirby/.git    && \
rm -rf kirby/kirby   && \
rm -rf kirby/panel   && \

# Create a fresh Git repository
git init

# Add Kirby components as Git submodules
git submodule add https://github.com/getkirby/kirby.git kirby/kirby && \
git submodule add https://github.com/getkirby/kirby.git kirby/panel && \

# Get Git submodule(s)
git submodule update --init --recursive &&\

echo "\n\nDONE!"
echo "=====\n"
{'fraction_non_alphanumeric': 0.14155712841253792, 'fraction_numerical': 0.0, 'mean_word_length': 1.8932748538011697, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 11, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3117301', 'n_tokens_mistral': 590, 'n_tokens_neox': 578, 'n_words': 173}