<commit_before>NODE?=node
NPM?=npm
BROWSERIFY?=node_modules/browserify/bin/cmd.js
MOCHA?=node_modules/mocha/bin/mocha
MOCHA_OPTS?=
JS_COMPILER=node_modules/uglify-js/bin/uglifyjs
JS_COMPILER_OPTS?=--no-seqs

MODULE=dagre-d3

JS_SRC:=$(wildcard lib/*.js)

DEMO_SRC=$(wildcard demo/*)
DEMO_OUT=$(addprefix out/dist/, $(DEMO_SRC))

OUT_DIRS=out out/dist out/dist/demo

.PHONY: all release dist dist-demo test clean fullclean

all: dist test coverage

release: all
	src/release/release.sh $(MODULE) out/dist

dist: out/dist/$(MODULE).js out/dist/$(MODULE).min.js dist-demo

dist-demo: out/dist/demo $(DEMO_OUT)

test: test-demo

test-demo: test/demo-test.js out/dist/$(MODULE).min.js dist-demo $(wildcard demo/*)
	phantomjs $<

clean:
	rm -f lib/version.js
	rm -rf out

fullclean: clean
	rm -rf node_modules

$(OUT_DIRS):
	mkdir -p $@

out/dist/$(MODULE).js: browser.js Makefile out/dist node_modules lib/version.js $(JS_SRC)<commit_msg>Remove coverage target from Makefile<commit_after>NODE?=node
NPM?=npm
BROWSERIFY?=node_modules/browserify/bin/cmd.js
MOCHA?=node_modules/mocha/bin/mocha
MOCHA_OPTS?=
JS_COMPILER=node_modules/uglify-js/bin/uglifyjs
JS_COMPILER_OPTS?=--no-seqs

MODULE=dagre-d3

JS_SRC:=$(wildcard lib/*.js)

DEMO_SRC=$(wildcard demo/*)
DEMO_OUT=$(addprefix out/dist/, $(DEMO_SRC))

OUT_DIRS=out out/dist out/dist/demo

.PHONY: all release dist dist-demo test clean fullclean

all: dist test

release: all
	src/release/release.sh $(MODULE) out/dist

dist: out/dist/$(MODULE).js out/dist/$(MODULE).min.js dist-demo

dist-demo: out/dist/demo $(DEMO_OUT)

test: test-demo

test-demo: test/demo-test.js out/dist/$(MODULE).min.js dist-demo $(wildcard demo/*)
	phantomjs $<

clean:
	rm -f lib/version.js
	rm -rf out

fullclean: clean
	rm -rf node_modules

$(OUT_DIRS):
	mkdir -p $@

out/dist/$(MODULE).js: browser.js Makefile out/dist node_modules lib/version.js $(JS_SRC)
{'fraction_non_alphanumeric': 0.15319148936170213, 'fraction_numerical': 0.0010638297872340426, 'mean_word_length': 4.841614906832298, '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': '3880894', 'n_tokens_mistral': 789, 'n_tokens_neox': 761, 'n_words': 148}