<commit_before># Put all 'bin' dirs beneath node_modules into $PATH so that we're using
# the locally installed AssetGraph:
# Ugly 'subst' hack: Check the Make Manual section 8.1 - Function Call Syntax
NPM_BINS := $(subst bin node,bin:node,$(shell if test -d node_modules; then find node_modules/ -name bin -type d; fi))
ifneq ($(NPM_BINS),)
	PATH := ${NPM_BINS}:${PATH}
endif

deps := $(shell find public/ -type f -name "*.*")

public-min: public/index.html $(deps)
	buildProduction \
	    --root public \
	    --outroot public-min \
	    $<

PHONY: clean

clean:
	rm -rf public-min<commit_msg>update makefile<commit_after>deps := $(shell find public/ -type f -name "*.*")

public-min: public/index.html $(deps)
	node_modules/assetgraph-builder/bin/buildProduction \
	    --root public \
	    --outroot public-min \
	    $<

PHONY: clean

clean:
	rm -rf public-min

{'fraction_non_alphanumeric': 0.1420323325635104, 'fraction_numerical': 0.0023094688221709007, 'mean_word_length': 3.423469387755102, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5019645', 'n_tokens_mistral': 316, 'n_tokens_neox': 300, 'n_words': 92}