<commit_before>#!/bin/bash
echo "Automatic tagdb updater"
echo "#######################"

while true; do
	echo Building tags and premake...

	startTime=$(date +%s)

	~/premake/premake4 gmake
	cscope -R -b
	ctags -R --c-kinds=+p --fields=+iaS --extra=+q -R .

	endTime=$(date +%s)
	diff=$(($endTime - $startTime))

	echo "Tags generated in $diff seconds."

	cloc --quiet --no3 --yaml src/ | tail -4

	echo "----"
	sleep 1m
done<commit_msg>Fixed the premake pathing<commit_after>#!/bin/bash
echo "Automatic tagdb updater"
echo "#######################"

while true; do
	echo Building tags and premake...

	startTime=$(date +%s)

	premake4 gmake
	cscope -R -b
	ctags -R --c-kinds=+p --fields=+iaS --extra=+q -R .

	endTime=$(date +%s)
	diff=$(($endTime - $startTime))

	echo "Tags generated in $diff seconds."

	cloc --quiet --no3 --yaml src/ | tail -4

	echo "----"
	sleep 1m
done
{'fraction_non_alphanumeric': 0.22209567198177677, 'fraction_numerical': 0.009111617312072893, 'mean_word_length': 3.2259615384615383, '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': '1917166', 'n_tokens_mistral': 356, 'n_tokens_neox': 331, 'n_words': 98}