<commit_before>MODULE_NAME := $(shell node -e "console.log(require('./package.json').binary.module_name)")

default: release

deps/geometry:
	git submodule update --init

mason_packages/.link/bin/mapnik-config: deps/geometry
	./install_mason.sh

node_modules: mason_packages/.link/bin/mapnik-config
	# install deps but for now ignore our own install script
	# so that we can run it directly in either debug or release
	npm install --ignore-scripts --clang

release: node_modules
	PATH="./mason_packages/.link/bin/:${PATH}" && V=1 ./node_modules/.bin/node-pre-gyp configure build --loglevel=error --clang<commit_msg>ensure the submodule is checked out [skip ci]<commit_after>MODULE_NAME := $(shell node -e "console.log(require('./package.json').binary.module_name)")

default: release

deps/geometry/include/mapbox/geometry.hpp:
	git submodule update --init

mason_packages/.link/bin/mapnik-config: deps/geometry/include/mapbox/geometry.hpp
	./install_mason.sh

node_modules: mason_packages/.link/bin/mapnik-config
	# install deps but for now ignore our own install script
	# so that we can run it directly in either debug or release
	npm install --ignore-scripts --clang

release: node_modules
	PATH="./mason_packages/.link/bin/:${PATH}" && V=1 ./node_modules/.bin/node-pre-gyp configure build --loglevel=error --clang
{'fraction_non_alphanumeric': 0.12898330804248861, 'fraction_numerical': 0.0015174506828528073, 'mean_word_length': 4.495833333333334, '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': '4339889', 'n_tokens_mistral': 418, 'n_tokens_neox': 417, 'n_words': 110}