<commit_before>GENERATED_FILES = \
	d3-selection.js \
	d3-selection.min.js

all: $(GENERATED_FILES)

.PHONY: clean all test publish

test:
	node_modules/.bin/faucet `find test -name '*-test.js'`

d3-selection.js: $(shell node_modules/.bin/browserify standalone.js --list)
	rm -f $@
	node_modules/.bin/browserify --standalone d3 standalone.js > $@
	chmod a-w $@

d3-selection.min.js: d3-selection.js
	rm -f $@
	node_modules/.bin/uglifyjs $^ -c -m -o $@
	chmod a-w $@

publish:
	npm publish

clean:
	rm -f -- $(GENERATED_FILES)<commit_msg>Target test depends on all.<commit_after>GENERATED_FILES = \
	d3-selection.js \
	d3-selection.min.js

all: $(GENERATED_FILES)

.PHONY: clean all test publish

test: all
	node_modules/.bin/faucet `find test -name '*-test.js'`

d3-selection.js: $(shell node_modules/.bin/browserify standalone.js --list)
	rm -f $@
	node_modules/.bin/browserify --standalone d3 standalone.js > $@
	chmod a-w $@

d3-selection.min.js: d3-selection.js
	rm -f $@
	node_modules/.bin/uglifyjs $^ -c -m -o $@
	chmod a-w $@

publish:
	npm publish

clean:
	rm -f -- $(GENERATED_FILES)
{'fraction_non_alphanumeric': 0.15842490842490842, 'fraction_numerical': 0.01098901098901099, 'mean_word_length': 3.389558232931727, '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': '4562914', 'n_tokens_mistral': 462, 'n_tokens_neox': 434, 'n_words': 96}