<commit_before>build:
	bower install

publish:
	test -z "`git status -s`"
	echo "var publishedGitVersion='`git describe --tags --always`';" > gitversion.js
	# check out Github pages if not already
	test -d gh-pages || git clone <EMAIL>:open-eid/js-token-signing.git -b gh-pages gh-pages
	# make sure it is clean
	(cd gh-pages && git reset --hard && git clean -dfx && git rm -rf *)
	# copy files to be published
	# FIXME: requires GNU coreutils because of --parents
	cp --parents bower_components/jquery/dist/jquery.min.js gh-pages
	cp --parents bower_components/jquery/dist/jquery.min.map gh-pages
	cp --parents bower_components/native-promise-only/lib/npo.src.js gh-pages
	cp sign.html gh-pages
	cp hwcrypto.js gh-pages
	cp hex2base.js gh-pages
	cp gitversion.js gh-pages
	# push to github pages
	(cd gh-pages && git add * && git commit --amend -m "publish" && git push -f origin gh-pages)<commit_msg>Just copy everything from bower to Github pages.<commit_after>build:
	bower install

publish:
	test -z "`git status -s`"
	echo "var publishedGitVersion='`git describe --tags --always`';" > gitversion.js
	# check out Github pages if not already
	test -d gh-pages || git clone <EMAIL>:open-eid/js-token-signing.git -b gh-pages gh-pages
	# make sure it is clean
	(cd gh-pages && git reset --hard && git clean -dfx && git rm -rf *)
	# copy files to be published
	cp -rv bower_components gh-pages
	cp -rv test gh-pages
	cp sign.html gh-pages
	cp hwcrypto.js gh-pages
	cp hex2base.js gh-pages
	cp gitversion.js gh-pages
	# push to github pages
	(cd gh-pages && git add * && git commit --amend -m "publish" && git push -f origin gh-pages)
{'fraction_non_alphanumeric': 0.12308634415186773, 'fraction_numerical': 0.001224739742804654, 'mean_word_length': 3.4281842818428183, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5333041', 'n_tokens_mistral': 591, 'n_tokens_neox': 557, 'n_words': 199}