<commit_before>VERSION       = 0.0.1
CC            = erlc
EBIN          = ebin
CFLAGS        = -Iinclude +warn_unused_vars +warn_unused_import

DIRS          = ebin datas/files

ERL_FILES     = $(shell find src/models/behaviours src -type f -and -name "*.erl" -exec basename '{}' \;)
BEAM_TARGETS  = $(ERL_FILES:.erl=.beam)
BEAM_TARGETS := $(addprefix ebin/, $(BEAM_TARGETS))

APP_FILES     = $(shell find src -type f -and -name "*.app" -exec basename '{}' \;)
APP_TARGETS  := $(addprefix ebin/, $(APP_FILES))

all: compile

$(DIRS):
	mkdir -p $(DIRS)

###############################################################################
# Build
###############################################################################
compile: $(DIRS) $(BEAM_TARGETS) $(APP_TARGETS)
	(cd deps/emongo && make)
	(cp deps/emongo/src/emongo.app.src ebin/emongo.app)<commit_msg>Makefile: don't copy the emongo.app.src<commit_after>VERSION       = 0.0.1
CC            = erlc
EBIN          = ebin
CFLAGS        = -Iinclude +warn_unused_vars +warn_unused_import

DIRS          = ebin datas/files

ERL_FILES     = $(shell find src/models/behaviours src -type f -and -name "*.erl" -exec basename '{}' \;)
BEAM_TARGETS  = $(ERL_FILES:.erl=.beam)
BEAM_TARGETS := $(addprefix ebin/, $(BEAM_TARGETS))

APP_FILES     = $(shell find src -type f -and -name "*.app" -exec basename '{}' \;)
APP_TARGETS  := $(addprefix ebin/, $(APP_FILES))

all: compile

$(DIRS):
	mkdir -p $(DIRS)

###############################################################################
# Build
###############################################################################
compile: $(DIRS) $(BEAM_TARGETS) $(APP_TARGETS)
	(cd deps/emongo && make)
{'fraction_non_alphanumeric': 0.3187463039621526, 'fraction_numerical': 0.0035481963335304554, 'mean_word_length': 3.976470588235294, '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': '1802070', 'n_tokens_mistral': 582, 'n_tokens_neox': 551, 'n_words': 126}