<commit_before># Ensures all recursive directories get OPENMRNPATH appropriately.
OPENMRNPATH:=$(realpath .)
export OPENMRNPATH

SUBDIRS = targets doc applications #test

include $(OPENMRNPATH)/etc/recurse.mk

# Makes sure all the targets are compiled before building the test application.
build-test: build-targets

tests-test: build-targets

build-applications: build-targets

tests-applications: build-targets

.PHONY: docs cov
docs:
	$(MAKE) -C doc docs || exit 1;

cov:
	$(MAKE) -C targets/cov cov

tests:
	$(MAKE) -C targets/cov tests

llvm-tests:
	$(MAKE) -C targets/linux.llvm run-tests

js-tests:
	$(MAKE) -C targets/js.emscripten run-tests

alltests: tests llvm-tests<commit_msg>Adds an easy way to print the documentation warnings in a way that seems ocmpatible with iterating through the warnings as if they wer compile errors.<commit_after># Ensures all recursive directories get OPENMRNPATH appropriately.
OPENMRNPATH:=$(realpath .)
export OPENMRNPATH

SUBDIRS = targets doc applications #test

include $(OPENMRNPATH)/etc/recurse.mk

# Makes sure all the targets are compiled before building the test application.
build-test: build-targets

tests-test: build-targets

build-applications: build-targets

tests-applications: build-targets

.PHONY: docs cov
docs:
	$(MAKE) -C doc docs || exit 1;

docsw:
	cat $(OPENMRNPATH)/doc/warnings

cov:
	$(MAKE) -C targets/cov cov

tests:
	$(MAKE) -C targets/cov tests

llvm-tests:
	$(MAKE) -C targets/linux.llvm run-tests

js-tests:
	$(MAKE) -C targets/js.emscripten run-tests

alltests: tests llvm-tests
{'fraction_non_alphanumeric': 0.10089974293059126, 'fraction_numerical': 0.0012853470437017994, 'mean_word_length': 4.600719424460432, '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': '3029008', 'n_tokens_mistral': 539, 'n_tokens_neox': 501, 'n_words': 169}