<commit_before>STYLESRC = styles/normalize.css styles/grid.css styles/font-awesome.css \
	styles/nodemavens.css

SRC = public/javascripts/app.js app.js $(wildcard public/javascripts/lib/*.js) \
	$(wildcard server/routes/*.js) $(wildcard server/controllers/*.js) \
	$(wildcard models/*.js)

TEMPLATES = $(wildcard templates/*.handlebars)

all: lint build min
	@echo ---- Build Succeeded ----

lint: $(SRC)
	@node_modules/.bin/jshint \
	--reporter node_modules/jshint-stylish/stylish.js \
	$^

build:
	@node_modules/.bin/handlebars $(TEMPLATES) \
	--output public/javascripts/templates.js \
	--min
	@cat $(STYLESRC) > public/styles/style.tmp.css && \
	node_modules/.bin/myth public/styles/style.tmp.css public/styles/style.css
	@rm public/styles/style.tmp.css

min:
	@node_modules/.bin/cleancss --s0 \
	--output public/styles/style.min.css \
	public/styles/style.css

test: lint<commit_msg>Removed unused test target.<commit_after>STYLES = styles/normalize.css styles/grid.css styles/font-awesome.css \
	styles/nodemavens.css

SRC = public/javascripts/app.js app.js $(wildcard public/javascripts/lib/*.js) \
	$(wildcard server/routes/*.js) $(wildcard server/controllers/*.js) \
	$(wildcard models/*.js)

TEMPLATES = $(wildcard templates/*.handlebars)

all: lint build min
	@echo === Build Complete ===

lint: $(SRC)
	@node_modules/.bin/jshint \
	--reporter node_modules/jshint-stylish/stylish.js \
	$^

build:
	@node_modules/.bin/handlebars $(TEMPLATES) \
	--output public/javascripts/templates.js \
	--min
	@cat $(STYLES) > public/styles/style.tmp.css && \
	node_modules/.bin/myth public/styles/style.tmp.css public/styles/style.css
	@rm public/styles/style.tmp.css

min:
	@node_modules/.bin/cleancss --s0 \
	--output public/styles/style.min.css \
	public/styles/style.css
{'fraction_non_alphanumeric': 0.16487859966120835, 'fraction_numerical': 0.001129305477131564, 'mean_word_length': 3.763440860215054, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6995014', 'n_tokens_mistral': 676, 'n_tokens_neox': 662, 'n_words': 106}