<commit_before>BUSTED := $(wildcard /usr/local/lib/luarocks/rocks/busted/*/bin/busted)

clean:
	rm -f luacov.*.out
	rm -f src/npge/*/*.gcov
	rm -f src/npge/*/*.gcda
	rm -f src/npge/*/*.gcno
	rm -f src/npge/*/*.o
	rm -f -r npge

test:
	busted -c
	gcov src/npge/*/*.c

exitless-busted:
	sed 's/os.exit/--os.exit/' > $@ < $(BUSTED)<commit_msg>update exitless-busted building rule<commit_after>BUSTED := $(wildcard /usr/local/lib/luarocks/rocks/busted/*/bin/busted)

clean:
	rm -f luacov.*.out
	rm -f src/npge/*/*.gcov
	rm -f src/npge/*/*.gcda
	rm -f src/npge/*/*.gcno
	rm -f src/npge/*/*.o
	rm -f -r npge

test:
	busted -c
	gcov src/npge/*/*.c

exitless-busted:
	sed '1 s/^.*$/os.exit = function() end/g' > $@ < $(BUSTED)
{'fraction_non_alphanumeric': 0.22701949860724233, 'fraction_numerical': 0.001392757660167131, 'mean_word_length': 2.687179487179487, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5050955', 'n_tokens_mistral': 358, 'n_tokens_neox': 351, 'n_words': 69}