<commit_before>.PHONY: coffee clean all update-gh-pages

all: lib/js/literallycanvas.js lib/js/literallycanvas.min.js lib/js/literallycanvas.jquery.js lib/js/literallycanvas.jquery.min.js scss

livereload:
	livereload . -p 33233

clean:
	rm -f gen/*.js
	rm -f lib/js/literallycanvas.*.js

watch-js:
	watch -n 2 make lib/js/literallycanvas.js

watch-css:
	sass --watch scss/literally.scss:lib/css/literally.css

scss: scss/*.scss
	sass scss/literally.scss:lib/css/literally.css

corecoffee: coffee/core/*.coffee
	mkdir -p gen/core
	coffee -o gen/core -c coffee/core

jquerycoffee: coffee/jquery.coffee
	mkdir -p gen
	coffee -o gen -c coffee/jquery.coffee

lib/js/literallycanvas.jquery.js: jquerycoffee corecoffee
	uglifyjs gen/core/*.js gen/jquery.js \
		-o lib/js/literallycanvas.jquery.js --beautify

lib/js/literallycanvas.jquery.min.js: jquerycoffee corecoffee
	uglifyjs gen/core/*.js gen/jquery.js \<commit_msg>Fix - clean step not removing all files<commit_after>.PHONY: coffee clean all update-gh-pages

all: lib/js/literallycanvas.js lib/js/literallycanvas.min.js lib/js/literallycanvas.jquery.js lib/js/literallycanvas.jquery.min.js scss

livereload:
	livereload . -p 33233

clean:
	rm -f gen/*.js
	rm -f lib/js/literallycanvas*.js

watch-js:
	watch -n 2 make lib/js/literallycanvas.js

watch-css:
	sass --watch scss/literally.scss:lib/css/literally.css

scss: scss/*.scss
	sass scss/literally.scss:lib/css/literally.css

corecoffee: coffee/core/*.coffee
	mkdir -p gen/core
	coffee -o gen/core -c coffee/core

jquerycoffee: coffee/jquery.coffee
	mkdir -p gen
	coffee -o gen -c coffee/jquery.coffee

lib/js/literallycanvas.jquery.js: jquerycoffee corecoffee
	uglifyjs gen/core/*.js gen/jquery.js \
		-o lib/js/literallycanvas.jquery.js --beautify

lib/js/literallycanvas.jquery.min.js: jquerycoffee corecoffee
	uglifyjs gen/core/*.js gen/jquery.js \
{'fraction_non_alphanumeric': 0.12385568120624664, 'fraction_numerical': 0.006462035541195477, 'mean_word_length': 3.788659793814433, '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': '6968535', 'n_tokens_mistral': 773, 'n_tokens_neox': 725, 'n_words': 148}