<commit_before>.PHONY: watch proxy serve

watch:
	coffee -w -o ./lib ./src

proxy:
	PORT=8000 \
	PROXY_DOMAIN=http://localhost:8000 \
	READMILL_CLIENT_CALLBACK=http://localhost:8001/callback.html \
	coffee proxy.coffee

serve:
	python -m SimpleHTTPServer 8001<commit_msg>Added "build" command to Makefile<commit_after>.PHONY: watch proxy serve

watch:
	coffee --watch --output ./lib ./src

proxy:
	PORT=8000 \
	PROXY_DOMAIN=http://localhost:8000 \
	READMILL_CLIENT_CALLBACK=http://localhost:8001/callback.html \
	coffee proxy.coffee

serve:
	python -m SimpleHTTPServer 8001

build:
	cat -s src/readmill.coffee src/readmill/*.coffee | \
	coffee --stdio --print > lib/annotator.readmill.js
{'fraction_non_alphanumeric': 0.12518195050946143, 'fraction_numerical': 0.046579330422125184, 'mean_word_length': 4.0588235294117645, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4562955', 'n_tokens_mistral': 282, 'n_tokens_neox': 255, 'n_words': 54}