<commit_before>.PHONY: build publish

# Binaries paths
# NODE_BIN=./node_modules/.bin

# Innitial installation
setup:
	@set -e
	@logger -s "Setup started"
	rm -rf bower_components && bower install
	@logger -s "Setup finished"

# Build the website
build:
	@set -e
	@logger -s "Build started"
	@logger -s "Building website with Jekyll"
	jekyll build
	@logger -s "Copying assets"
	@#cp -r ./assets ./_site/assets
	cp bower_components/siimple/dist/siimple.min.css ./_site/assets/css/
	@#logger -s "Building website styles"
	@#${NODE_BIN}/sass --load-path="./bower_components/" ./siimple-website.scss ./_site/assets/siimple-website.css
	@logger -s "Build finished"

# Publish the website
publish: 
	@set -e
	@logger -s "Publish started"
	make build
	gcloud app deploy app.yaml --project siimple-documentation
	@logger -s "Publish finished"

# Publish the dispatch file
publish-dispatch:
	@set -e
	@logger -s "Publish dispatch started"
	gcloud app deploy dispatch.yaml --project siimple-documentation
	@logger -s "Publish dispatch finished"
<commit_msg>Minor changes<commit_after>.PHONY: build publish

# Binaries paths
# NODE_BIN=./node_modules/.bin

# Innitial installation
setup:
	@set -e
	@logger -s "Setup started"
	rm -rf bower_components && bower install
	@logger -s "Setup finished"

# Build the website
build:
	@set -e
	@logger -s "Build started"
	@logger -s "Building website with Jekyll"
	jekyll build
	@logger -s "Copying assets"
	@#cp -r ./assets ./_site/assets
	cp bower_components/siimple/dist/siimple.min.css ./_site/assets/css/
	@#logger -s "Building website styles"
	@#${NODE_BIN}/sass --load-path="./bower_components/" ./siimple-website.scss ./_site/assets/siimple-website.css
	@logger -s "Build finished"

# Serve the site
serve: 
	@set -e
	@logger -s "Serve started"
	make prepublish
	cd ./.deploy && dev_appserver.py app.yaml

# Prepublish the site
prepublish: 
	@set -e
	@logger -s "Prepublish started"
	make build
	@logger -s "Building deployment folder"
	rm -rf .deploy
	mkdir -p .deploy
	cp -r _site .deploy/
	cp app.yaml .deploy/
	@logger -s "Prepublish finished"

# Publish the website
publish: 
	@set -e
	@logger -s "Publish started"
	make prepublish
	cd ./.deploy && gcloud app deploy app.yaml --project siimple-documentation
	@logger -s "Publish finished"

# Publish the dispatch file
publish-dispatch:
	@set -e
	@logger -s "Publish dispatch started"
	gcloud app deploy dispatch.yaml --project siimple-documentation
	@logger -s "Publish dispatch finished"

{'fraction_non_alphanumeric': 0.12172511084240226, 'fraction_numerical': 0.0, 'mean_word_length': 3.7822736030828517, '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': '149637', 'n_tokens_mistral': 894, 'n_tokens_neox': 864, 'n_words': 275}