<commit_before>
NODE = node
TEST = support/expresso/bin/expresso
TESTS ?= test/*.test.js
PREFIX = /usr/local
LIB_PREFIX = $(HOME)/.node_libraries
DOCS = docs/index.md \
	   docs/methodOverride.md \
	   docs/conditionalGet.md \
	   docs/cookieDecoder.md \
	   docs/bodyDecoder.md \
	   docs/errorHandler.md \
	   docs/session.md \
	   docs/jsonrpc.md \
	   docs/format.md \
	   docs/staticProvider.md \
	   docs/compiler.md \
	   docs/router.md \
	   docs/lint.md \
	   docs/logger.md

MANPAGES = $(DOCS:.md=.1)
HTMLDOCS = $(DOCS:.md=.html)

test:
	@CONNECT_ENV=test ./$(TEST) \
		--growl \
		-I lib \
		-I support/sass/lib \
		-I support/less/lib \
		$(TEST_FLAGS) $(TESTS)

test-cov:
	@$(MAKE) test TEST_FLAGS="--cov"

install: install-docs
	cp -fr lib/connect $(LIB_PREFIX)/connect

uninstall:
	rm -f $(PREFIX)/share/man/man1/connect.1
	rm -f $(PREFIX)/share/man/man1/connect-*.1
	rm -fr $(LIB_PREFIX)/connect

install-docs:
	cp -f docs/index.1 $(PREFIX)/share/man/man1/connect.1
	cp -f docs/bodyDecoder.1 $(PREFIX)/share/man/man1/connect-bodyDecoder.1
	cp -f docs/conditionalGet.1 $(PREFIX)/share/man/man1/connect-conditionalGet.1
	cp -f docs/errorHandler.1 $(PREFIX)/share/man/man1/connect-errorHandler.1
	cp -f docs/methodOverride.1 $(PREFIX)/share/man/man1/connect-methodOverride.1
	cp -f docs/format.1 $(PREFIX)/share/man/man1/connect-format.1
	cp -f docs/lint.1 $(PREFIX)/share/man/man1/connect-lint.1<commit_msg>Removed --growl from `make test`<commit_after>
NODE = node
TEST = support/expresso/bin/expresso
TESTS ?= test/*.test.js
PREFIX = /usr/local
LIB_PREFIX = $(HOME)/.node_libraries
DOCS = docs/index.md \
	   docs/methodOverride.md \
	   docs/conditionalGet.md \
	   docs/cookieDecoder.md \
	   docs/bodyDecoder.md \
	   docs/errorHandler.md \
	   docs/session.md \
	   docs/jsonrpc.md \
	   docs/format.md \
	   docs/staticProvider.md \
	   docs/compiler.md \
	   docs/router.md \
	   docs/lint.md \
	   docs/logger.md

MANPAGES = $(DOCS:.md=.1)
HTMLDOCS = $(DOCS:.md=.html)

test:
	@CONNECT_ENV=test ./$(TEST) \
		-I lib \
		-I support/sass/lib \
		-I support/less/lib \
		$(TEST_FLAGS) $(TESTS)

test-cov:
	@$(MAKE) test TEST_FLAGS="--cov"

install: install-docs
	cp -fr lib/connect $(LIB_PREFIX)/connect

uninstall:
	rm -f $(PREFIX)/share/man/man1/connect.1
	rm -f $(PREFIX)/share/man/man1/connect-*.1
	rm -fr $(LIB_PREFIX)/connect

install-docs:
	cp -f docs/index.1 $(PREFIX)/share/man/man1/connect.1
	cp -f docs/bodyDecoder.1 $(PREFIX)/share/man/man1/connect-bodyDecoder.1
	cp -f docs/conditionalGet.1 $(PREFIX)/share/man/man1/connect-conditionalGet.1
	cp -f docs/errorHandler.1 $(PREFIX)/share/man/man1/connect-errorHandler.1
	cp -f docs/methodOverride.1 $(PREFIX)/share/man/man1/connect-methodOverride.1
	cp -f docs/format.1 $(PREFIX)/share/man/man1/connect-format.1
	cp -f docs/lint.1 $(PREFIX)/share/man/man1/connect-lint.1
{'fraction_non_alphanumeric': 0.16812916812916812, 'fraction_numerical': 0.018252018252018252, 'mean_word_length': 3.036827195467422, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5635498', 'n_tokens_mistral': 1187, 'n_tokens_neox': 1093, 'n_words': 184}