<commit_before># Add binaries from NPM modules to PATH
PATH:=node_modules/.bin:${PATH}

jsfiles := $(shell find lib/ -type f -name "*.js")
outputfiles := one-color-debug.js one-color.js one-color-all-debug.js one-color-all.js one-color-ieshim.js

.PHONY : all clean

all: $(outputfiles)

%.js: %-debug.js
	./bin/build.js -o $@ $<

one-color-debug.js: $(jsfiles)
	flattenOneInclude --parentdir lib/color/_base.js > $@

one-color-all-debug.js: $(jsfiles)
	flattenOneInclude --parentdir lib/color/_all.js > $@

one-color-ieshim.js: lib/es5-shim.js
	cat $^ | uglifyjs -nc > $@

doc: $(jsfiles)
	mkdir -p doc
	jsdoc.sh --directory=doc/api -a -p lib

clean:
	rm -f $(outputfiles)
	rm -rf doc<commit_msg>Removed unused doc section in Makefile<commit_after># Add binaries from NPM modules to PATH
PATH:=node_modules/.bin:${PATH}

jsfiles := $(shell find lib/ -type f -name "*.js")
outputfiles := one-color-debug.js one-color.js one-color-all-debug.js one-color-all.js one-color-ieshim.js

.PHONY : all clean

all: $(outputfiles)

%.js: %-debug.js
	./bin/build.js -o $@ $<

one-color-debug.js: $(jsfiles)
	flattenOneInclude --parentdir lib/color/_base.js > $@

one-color-all-debug.js: $(jsfiles)
	flattenOneInclude --parentdir lib/color/_all.js > $@

one-color-ieshim.js: lib/es5-shim.js
	cat $^ | uglifyjs -nc > $@

clean:
	rm -f $(outputfiles)
{'fraction_non_alphanumeric': 0.17739520958083832, 'fraction_numerical': 0.0014970059880239522, 'mean_word_length': 3.5631399317406145, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '577822', 'n_tokens_mistral': 542, 'n_tokens_neox': 522, 'n_words': 119}