<commit_before>BIN = ./node_modules/.bin

release-patch:
	@$(call release,patch)

release-minor:
	@$(call release,minor)

release-major:
	@$(call release,major)

build:
	@$(BIN)/cjsx -cb -o dist src/index.cjsx
	@$(BIN)/browserify examples/index.js -o examples/bundle.js

publish:
	git push --tags origin HEAD:master
	npm publish

define release
	@$(BIN)/cjsx -cb -o dist src/index.cjsx
	npm version $(1)
endef<commit_msg>Add make task for publishing to gh-pages<commit_after>BIN = ./node_modules/.bin

release-patch:
	@$(call release,patch)

release-minor:
	@$(call release,minor)

release-major:
	@$(call release,major)

build:
	@$(BIN)/cjsx -cb -o dist src/index.cjsx
	@$(BIN)/browserify examples/index.js -o examples/bundle.js

publish:
	git push --tags origin HEAD:master
	npm publish

publish-gh-pages:
	git checkout gh-pages
	git merge master
	git push
	git checkout master

define release
	@$(BIN)/cjsx -cb -o dist src/index.cjsx
	npm version $(1)
endef
{'fraction_non_alphanumeric': 0.140625, 'fraction_numerical': 0.0020833333333333333, 'mean_word_length': 4.111702127659575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '992051', 'n_tokens_mistral': 370, 'n_tokens_neox': 355, 'n_words': 97}