<commit_before>VERSION=$(shell ./ufwd -v 2>&1)
MACHINE=$(shell uname -sp | tr '[A-Z]' '[a-z]' | sed -e 's/\s/-/')

all:
	go build .

test:
	go test ./...

pack: manpage
	go build .
	mkdir -p tmp/bin tmp/share/man/man1 pkg
	cp ufwd tmp/bin/
	cp man/ufwd.1 tmp/share/man/man1/
	cd tmp && zip -r ../pkg/ufwd-$(VERSION)-$(MACHINE).zip bin share
	rm -r tmp

manpage:
	ronn --manual="Mir's uwfd manual" --organization='Mir' man/*.ronn
<commit_msg>Fixed typo<commit_after>VERSION=$(shell ./ufwd -v 2>&1)
MACHINE=$(shell uname -sp | tr '[A-Z]' '[a-z]' | sed -e 's/\s/-/')

all:
	go build .

test:
	go test ./...

pack: manpage
	go build .
	mkdir -p tmp/bin tmp/share/man/man1 pkg
	cp ufwd tmp/bin/
	cp man/ufwd.1 tmp/share/man/man1/
	cd tmp && zip -r ../pkg/ufwd-$(VERSION)-$(MACHINE).zip bin share
	rm -r tmp

manpage:
	ronn --manual="Mir's ufwd manual" --organization='Mir' man/*.ronn

{'fraction_non_alphanumeric': 0.20932878270762229, 'fraction_numerical': 0.011376564277588168, 'mean_word_length': 2.7288135593220337, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1574216', 'n_tokens_mistral': 400, 'n_tokens_neox': 378, 'n_words': 103}