<commit_before>#http://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets

all: mapnik.node

OS:=$(shell uname -s)

ifeq ($(NPROCS),)
	NPROCS:=1
	ifeq ($(OS),Linux)
		NPROCS:=$(shell grep -c ^processor /proc/cpuinfo)
	endif
	ifeq ($(OS),Darwin)
		NPROCS:=$(shell sysctl -n hw.ncpu)
	endif
endif

gyp:
	python gen_settings.py
	python gyp/gyp build.gyp --depth=. -f make --generator-output=./projects/makefiles
	make -j$(NPROCS) -C ./projects/makefiles/ V=1
	cp projects/makefiles/out/Default/_mapnik.node lib/_mapnik.node

install: all
	@node-waf build install

mapnik.node: test
	@node-waf build -j $(NPROCS)<commit_msg>always test after building<commit_after>#http://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets

all: mapnik.node

OS:=$(shell uname -s)

ifeq ($(NPROCS),)
	NPROCS:=1
	ifeq ($(OS),Linux)
		NPROCS:=$(shell grep -c ^processor /proc/cpuinfo)
	endif
	ifeq ($(OS),Darwin)
		NPROCS:=$(shell sysctl -n hw.ncpu)
	endif
endif

gyp:
	python gen_settings.py
	python gyp/gyp build.gyp --depth=. -f make --generator-output=./projects/makefiles
	make -j$(NPROCS) -C ./projects/makefiles/ V=1
	cp projects/makefiles/out/Default/_mapnik.node lib/_mapnik.node

install: all
	@node-waf build install

mapnik.node:
	@node-waf build -j $(NPROCS)
	@make test
{'fraction_non_alphanumeric': 0.16106870229007633, 'fraction_numerical': 0.0030534351145038168, 'mean_word_length': 4.244, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5148277', 'n_tokens_mistral': 544, 'n_tokens_neox': 520, 'n_words': 111}