<commit_before>build:
	jekyll $@

start:
	@[[ ! -f .server.pid ]] || { echo 'already running'; exit 1; }
	jekyll serve --watch &> .server.log & \
	    echo $$! > .server.pid

stop:
	@[[ -f .server.pid ]] || exit 1
	kill `cat .server.pid`
	rm .server.pid

publish: build
	( \
	    cd _site; \
	    git add -A .; \
	    git commit --amend --no-edit; \
	    git push --force origin gh-pages; \
	)

open:
	open http://127.0.0.1:4000/<commit_msg>Makefile improvements<commit_after>JEKYLL_LOCAL_HOST ?= 127.0.0.1
JEKYLL_LOCAL_PORT ?= 4000

build: _site
	jekyll $@

_site:
	git clone --branch=gh-pages \
	    <EMAIL>:schematype/schematype-org _site

start:
	@[ ! -f .server.pid ] || { echo 'already running'; exit 1; }
	jekyll serve \
		--host=$(JEKYLL_LOCAL_HOST) \
		--port=$(JEKYLL_LOCAL_PORT) \
		--watch \
			2>&1 > .server.log & \
	    echo $$! > .server.pid

stop:
	@[ -f .server.pid ] || exit 1
	kill `cat .server.pid`
	rm .server.pid

publish: build
	( \
	    cd _site; \
	    git add -A .; \
	    git commit --amend --no-edit; \
	    git push --force origin gh-pages; \
	)

open:
	open http://127.0.0.1:4000/
{'fraction_non_alphanumeric': 0.18271827182718273, 'fraction_numerical': 0.032403240324032405, 'mean_word_length': 2.24198250728863, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, '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': '4747608', 'n_tokens_mistral': 504, 'n_tokens_neox': 452, 'n_words': 104}