<commit_before>#!/bin/sh

travis: dev_deps test

.PHONY: test local_deps any-db-mysql any-db-postgres any-db-sqlite3 any-db-pool

test:
	cd test && npm test

dev_deps: local_deps npm_deps
	cd test && npm install

npm_deps: any-db any-db-mysql any-db-postgres any-db-sqlite3 any-db-pool

any-db*:
	cd $@ && npm install

local_deps:
	node link_local_deps.js<commit_msg>add make test for setting version across all projects<commit_after>#!/bin/sh

travis: dev_deps test

.PHONY: test local_deps any-db-mysql any-db-postgres any-db-sqlite3 any-db-pool

test:
	cd test && npm test

dev_deps: local_deps npm_deps
	cd test && npm install

npm_deps: any-db any-db-mysql any-db-postgres any-db-sqlite3 any-db-pool

any-db*:
	cd $@ && npm install

local_deps:
	node link_local_deps.js

version:
	sed -i.bak 's/"version": ".*",/"version": "'$(new_version)'",/' any-db*/package.json;
{'fraction_non_alphanumeric': 0.1354764638346728, 'fraction_numerical': 0.004592422502870264, 'mean_word_length': 4.099415204678363, 'pattern_counts': {'":': 2, '<': 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': '2661931', 'n_tokens_mistral': 372, 'n_tokens_neox': 359, 'n_words': 86}