<commit_before>WCF_FILES = $(shell find files_wcf -type f -not -name '*.babel')
BABEL = files_wcf/js/Bastelstu.be/_Push.babel

all: be.bastelstu.wcf.push.tar

be.bastelstu.wcf.push.tar: files_wcf.tar *.xml LICENSE
	tar cvf be.bastelstu.wcf.push.tar --numeric-owner --exclude-vcs -- files_wcf.tar *.xml LICENSE

files_wcf.tar: $(WCF_FILES) files_wcf/js/Bastelstu.be/_Push.babel
	tar cvf files_wcf.tar --numeric-owner --exclude-vcs --exclude .babelrc --transform='s,^files_wcf/,,' --transform='s,.babel$$,.js,' -- $+

%.babel: %.js
	babel $< > $@

clean:
	-rm -f files_wcf.tar
	-rm -f $(BABEL)

distclean: clean
	-rm -f be.bastelstu.wcf.push.tar

.PHONY: distclean clean<commit_msg>Add duplicate file warning comment to Makefile<commit_after>WCF_FILES = $(shell find files_wcf -type f -not -name '*.babel')
BABEL = files_wcf/js/Bastelstu.be/_Push.babel

all: be.bastelstu.wcf.push.tar

be.bastelstu.wcf.push.tar: files_wcf.tar *.xml LICENSE
	tar cvf be.bastelstu.wcf.push.tar --numeric-owner --exclude-vcs -- files_wcf.tar *.xml LICENSE

files_wcf.tar: $(WCF_FILES) files_wcf/js/Bastelstu.be/_Push.babel
	# Note: This tar command line duplicates filenames inside the archive for the babeled files.
	#       GNU tar and WCF both extract the file added last, so we don't care.
	tar cvf files_wcf.tar --numeric-owner --exclude-vcs --exclude .babelrc --transform='s,^files_wcf/,,' --transform='s,.babel$$,.js,' -- $+

%.babel: %.js
	babel $< > $@

clean:
	-rm -f files_wcf.tar
	-rm -f $(BABEL)

distclean: clean
	-rm -f be.bastelstu.wcf.push.tar

.PHONY: distclean clean
{'fraction_non_alphanumeric': 0.1604859335038363, 'fraction_numerical': 0.0, 'mean_word_length': 3.589442815249267, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '839628', 'n_tokens_mistral': 672, 'n_tokens_neox': 634, 'n_words': 143}