<commit_before># Bootstrap JS source files that we use
BOOTSTRAP_FILES := alert button collapse dropdown modal tooltip popover tab scrollspy affix datepicker
BOOTSTRAP_JS := $(addsuffix .js,$(addprefix static/js/bootstrap-,$(BOOTSTRAP_FILES)))

# All JS source files that we use
ALL_FILES := jquery.tablesorter.js jquery.tablesorter.widgets.js bootstrap.js handlebars.runtime.js templates.js evething.js evething/*
ALL_JS    := $(addprefix static/js/,$(ALL_FILES))

# Themes
THEMES    := theme-cerulean theme-cosmo theme-cyborg theme-darkthing theme-default theme-slate
THEME_OUT := $(addprefix static/css/,$(addsuffix .min.css,$(THEMES)))

all : css handlebars js
css : $(THEME_OUT)
handlebars : static/js/templates.js
js  : static/js/bootstrap.js static/js/evething-combined.min.js

# Compile and minify LESS -> CSS
static/css/%.min.css : static/less/% static/less/bootstrap static/less/evething.less
	@echo -n Compiling and minifying $(notdir $@)...
	@recess --compress $</bootstrap.less > $@
	@echo \ done!

# Pre-combine bootstrap JS
static/js/bootstrap.js : $(BOOTSTRAP_JS)<commit_msg>Update Makefile to add CSS dependency on static/less/evething/<commit_after># Bootstrap JS source files that we use
BOOTSTRAP_FILES := alert button collapse dropdown modal tooltip popover tab scrollspy affix datepicker
BOOTSTRAP_JS := $(addsuffix .js,$(addprefix static/js/bootstrap-,$(BOOTSTRAP_FILES)))

# All JS source files that we use
ALL_FILES := jquery.tablesorter.js jquery.tablesorter.widgets.js bootstrap.js handlebars.runtime.js templates.js evething.js evething/*
ALL_JS    := $(addprefix static/js/,$(ALL_FILES))

# Themes
THEMES    := theme-cerulean theme-cosmo theme-cyborg theme-darkthing theme-default theme-slate
THEME_OUT := $(addprefix static/css/,$(addsuffix .min.css,$(THEMES)))

all : css handlebars js
css : $(THEME_OUT)
handlebars : static/js/templates.js
js  : static/js/bootstrap.js static/js/evething-combined.min.js

# Compile and minify LESS -> CSS
static/css/%.min.css : static/less/%/ static/less/bootstrap/ static/less/evething.less static/less/evething/
	@echo -n Compiling and minifying $(notdir $@)...
	@recess --compress $</bootstrap.less > $@
	@echo \ done!

# Pre-combine bootstrap JS
static/js/bootstrap.js : $(BOOTSTRAP_JS)
{'fraction_non_alphanumeric': 0.129490022172949, 'fraction_numerical': 0.0, 'mean_word_length': 4.740458015267175, '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': '1124941', 'n_tokens_mistral': 762, 'n_tokens_neox': 732, 'n_words': 187}