<commit_before>TOP=$(shell pwd)

include $(TOP)/build/config.mk

#SUBDIRS=external-deps node-llvm ejs-llvm lib runtime
SUBDIRS=external-deps node-llvm lib runtime

# run git submodule magic if somebody is antsy and doesn't type the magic incantation before typing make
all-local::
	@if [ ! -f pcre/configure.ac ]; then \
	  git submodule init; \
	  git submodule update; \
	fi

check:
	$(MAKE) -C test check

bootstrap:
	$(MAKE) -C lib/generated bootstrap

include $(TOP)/build/build.mk<commit_msg>add stage1/stage2 targets here<commit_after>TOP=$(shell pwd)

include $(TOP)/build/config.mk

#SUBDIRS=external-deps node-llvm ejs-llvm lib runtime
SUBDIRS=external-deps node-llvm lib runtime

# run git submodule magic if somebody is antsy and doesn't type the magic incantation before typing make
all-local::
	@if [ ! -f pcre/configure.ac ]; then \
	  git submodule init; \
	  git submodule update; \
	fi

check:
	$(MAKE) -C test check

bootstrap: stage1 stage2

stage1:
	./ejs --warn-on-undeclared --module "./ejs-llvm/libejsllvm-module.a,llvm,_ejs_llvm_init,`llvm-config-3.4 --ldflags --libs`" ejs-es6

stage2:
	./ejs-es6.exe --warn-on-undeclared --module "./ejs-llvm/libejsllvm-module.a,llvm,_ejs_llvm_init,`llvm-config-3.4 --ldflags --libs`" ejs-es6

include $(TOP)/build/build.mk
{'fraction_non_alphanumeric': 0.13250194855806702, 'fraction_numerical': 0.010132501948558068, 'mean_word_length': 3.9384615384615387, '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': '1098079', 'n_tokens_mistral': 477, 'n_tokens_neox': 461, 'n_words': 124}