<commit_before>APPLICATION = ./assets/css/nicoespeon.css
APPLICATION_LESS = ./assets/less/nicoespeon.less
DATE = $(shell date +%I:%M\ %p)
CHECK = \033[32m✔\033[39m
HR=\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#

#
# BUILD CSS/JS
#

build:
	@echo "\n${HR}"
	@echo "Building front-end..."
	@echo "${HR}\n"
	@lessc --compress ${APPLICATION_LESS} ${APPLICATION}
	@echo "Compiling LESS...                ${CHECK} Done"
	@echo "\n${HR}"
	@echo "Build successfully completed at ${DATE}."
	@echo "${HR}\n"
	@echo "Script by @nicoespeon,"
	@echo "inspired by @mdo's and @fat's Bootstrap Makefile\n"<commit_msg>Update Makefile to perform deployment<commit_after>APPLICATION = ./assets/css/nicoespeon.css
APPLICATION_LESS = ./assets/less/nicoespeon.less
DATE = $(shell date +%I:%M\ %p)
CHECK = \033[32m✔\033[39m
HR=\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#

#
# BUILD CSS/JS
#

build:
	@echo "\n${HR}"
	@echo "Building front-end..."
	@echo "${HR}\n"
	@lessc --compress ${APPLICATION_LESS} ${APPLICATION}
	@echo "Compiling LESS...                ${CHECK} Done"
	@echo "\n${HR}"
	@echo "Build successfully completed at ${DATE}."
	@echo "${HR}\n"
	@echo "Script by @nicoespeon,"
	@echo "inspired by @mdo's and @fat's Bootstrap Makefile\n"

#
# DEPLOY TO MASTER
#

deploy:
	@echo  "\n${HR}"
	@echo  "Deploying website..."
	@echo  "${HR}\n"
	@git   checkout master
	@echo  "Switch to master...                ${CHECK} Done"
	@sudo  cp -r _site/* . && sudo rm -rf _site/ en/_posts/ fr/_posts/ Makefile 
	@echo  "Update files...                    ${CHECK} Done"
	@git   add . && git commit -m "Regenerate files (jekyll deployment)"
	@echo  "Committing files...                ${CHECK} Done"
	@git   checkout develop && sudo git clean -f -d
	@echo  "Switch back to develop...          ${CHECK} Done"
	@mkdir _site/
	@echo  "Creating site folder...            ${CHECK} Done"
	@echo  "You can run back jekyll now"
	@echo  "\n${HR}"
	@echo "Deployed successfully completed at ${DATE}."
	@echo "${HR}\n"
	@echo "Script by @nicoespeon"
{'fraction_non_alphanumeric': 0.25704887218045114, 'fraction_numerical': 0.009398496240601503, 'mean_word_length': 2.6643717728055076, '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': '149828', 'n_tokens_mistral': 953, 'n_tokens_neox': 820, 'n_words': 203}