<commit_before>ROOT=../..
include $(ROOT)/Makefile.common

BINDINGS=jquery.mli js_date.mli js_str.mli

.PHONY: all clean

all: $(BINDINGS:.mli=.cmi) $(BINDINGS:.mli=.cmo) test_jquery.js

test_jquery.exe: jquery.cmo test_jquery.cmo
	$(OCAMLC) -no-check-prims -o $@ $(OJSDIR)/gen_js_api.cma $<

test_jquery.js: test_jquery.exe
	$(JSOO) $(OJSDIR)/ojs_runtime.js $<

%.ml: %.mli
	$(GENJSAPI) $<

%.cmi: %.mli
	$(OCAMLC) -c -I $(OJSDIR) $<

%.cmo: %.ml
	$(OCAMLC) -ppx "$(GENJSAPI) -ppx" -c -I $(OJSDIR) $<

test_jquery.cmo: jquery.cmi

clean:
	rm -f $(BINDINGS:.mli=.ml) *.cm* test_jquery.exe test_jquery.js<commit_msg>Fix Makefile.<commit_after>ROOT=../..
include $(ROOT)/Makefile.common

BINDINGS=jquery.mli js_date.mli js_str.mli

.PHONY: all clean

all: $(BINDINGS:.mli=.cmi) $(BINDINGS:.mli=.cmo) test_jquery.js

test_jquery.exe: jquery.cmo test_jquery.cmo
	$(OCAMLC) -no-check-prims -o $@ $(OJSDIR)/gen_js_api.cma $^

test_jquery.js: test_jquery.exe
	$(JSOO) $(OJSDIR)/ojs_runtime.js $<

%.ml: %.mli
	$(GENJSAPI) $<

%.cmi: %.mli
	$(OCAMLC) -c -I $(OJSDIR) $<

%.cmo: %.ml
	$(OCAMLC) -ppx "$(GENJSAPI) -ppx" -c -I $(OJSDIR) $<

test_jquery.cmo: jquery.cmi

clean:
	rm -f $(BINDINGS:.mli=.ml) *.cm* test_jquery.exe test_jquery.js
{'fraction_non_alphanumeric': 0.21707317073170732, 'fraction_numerical': 0.0, 'mean_word_length': 4.024489795918368, 'pattern_counts': {'":': 0, '<': 12, '<?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': '5358182', 'n_tokens_mistral': 617, 'n_tokens_neox': 584, 'n_words': 102}