<commit_before>SHELL=/bin/bash

pre-install:
	@$(SHELL) ./scripts/check-node-canvas.sh

all:
	@$(SHELL) ./scripts/install.sh

clean:
	rm -rf node_modules/*

distclean: clean
	rm config.status*

config.status--test:
	./configure --environment=test

config/environments/test.js: config.status--test
	./config.status--test 

test: config/environments/test.js
	@echo "***tests***"
	@$(SHELL) ./run_tests.sh ${RUNTESTFLAGS} \
		test/unit/cartodb/*.js \
		test/unit/cartodb/cache/model/*.js \
		test/integration/*.js \
		test/acceptance/*.js \
		test/acceptance/cache/*.js

jshint:
	@echo "***jshint***"
	@./node_modules/.bin/jshint lib/

test-all: jshint test

coverage:
	@RUNTESTFLAGS=--with-coverage make test

check: test

.PHONY: pre-install test<commit_msg>PHONY coverage<commit_after>SHELL=/bin/bash

pre-install:
	@$(SHELL) ./scripts/check-node-canvas.sh

all:
	@$(SHELL) ./scripts/install.sh

clean:
	rm -rf node_modules/*

distclean: clean
	rm config.status*

config.status--test:
	./configure --environment=test

config/environments/test.js: config.status--test
	./config.status--test 

test: config/environments/test.js
	@echo "***tests***"
	@$(SHELL) ./run_tests.sh ${RUNTESTFLAGS} \
		test/unit/cartodb/*.js \
		test/unit/cartodb/cache/model/*.js \
		test/integration/*.js \
		test/acceptance/*.js \
		test/acceptance/cache/*.js

jshint:
	@echo "***jshint***"
	@./node_modules/.bin/jshint lib/

test-all: jshint test

coverage:
	@RUNTESTFLAGS=--with-coverage make test

check: test

.PHONY: pre-install test jshint coverage
{'fraction_non_alphanumeric': 0.17896799477465708, 'fraction_numerical': 0.0, 'mean_word_length': 3.586826347305389, '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': '428596', 'n_tokens_mistral': 628, 'n_tokens_neox': 605, 'n_words': 102}